diff options
author | Adrian Prantl <aprantl@apple.com> | 2013-09-26 23:37:11 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2013-09-26 23:37:11 +0000 |
commit | deac137da710cd8566b857ee9d1e182d4fd35932 (patch) | |
tree | d0371e668bbe1d5d9a737c188076c3092721f69e /test/MC/AsmParser | |
parent | 1327c089221da78b1bfd61067162023e520085ed (diff) | |
download | llvm-deac137da710cd8566b857ee9d1e182d4fd35932.tar.gz llvm-deac137da710cd8566b857ee9d1e182d4fd35932.tar.bz2 llvm-deac137da710cd8566b857ee9d1e182d4fd35932.tar.xz |
MCParser/Debug info: Accept line number 0 as a legitimate value, since
CFE produces it to indicate artificial locations.
c.f.: DWARF standard, Table 6.2:
line -- An unsigned integer indicating a source line number. Lines are numbered beginning at 1. The compiler may emit the value 0 in cases where an instruction cannot be attributed to any source line.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191471 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/AsmParser')
-rw-r--r-- | test/MC/AsmParser/directive_loc.s | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/MC/AsmParser/directive_loc.s b/test/MC/AsmParser/directive_loc.s index 164d42a3fa..700a32ca38 100644 --- a/test/MC/AsmParser/directive_loc.s +++ b/test/MC/AsmParser/directive_loc.s @@ -6,3 +6,4 @@ .loc 1 2 .loc 1 2 3 .loc 1 2 discriminator 1 + .loc 1 0 |