diff options
author | Cameron Zwarich <zwarich@apple.com> | 2013-05-25 21:56:53 +0000 |
---|---|---|
committer | Cameron Zwarich <zwarich@apple.com> | 2013-05-25 21:56:53 +0000 |
commit | 41b646c127300c6e3b83f1a0bfc49c812110ebf4 (patch) | |
tree | 30eedb791997dbbcec8a2c87f13e8439bc7f5f1c /test/MC/ELF | |
parent | 60057270d9ea9cb9527e0ac8b77ba2c5a08a8af9 (diff) | |
download | external_llvm-41b646c127300c6e3b83f1a0bfc49c812110ebf4.zip external_llvm-41b646c127300c6e3b83f1a0bfc49c812110ebf4.tar.gz external_llvm-41b646c127300c6e3b83f1a0bfc49c812110ebf4.tar.bz2 |
Add support for DWARF line number table entries for values in the instruction
stream.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182712 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/ELF')
-rw-r--r-- | test/MC/ELF/debug-line.s | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/test/MC/ELF/debug-line.s b/test/MC/ELF/debug-line.s index 75e050e..6766f10 100644 --- a/test/MC/ELF/debug-line.s +++ b/test/MC/ELF/debug-line.s @@ -8,17 +8,18 @@ // CHECK-NEXT: Flags [ // CHECK-NEXT: ] // CHECK-NEXT: Address: 0x0 -// CHECK-NEXT: Offset: 0x44 -// CHECK-NEXT: Size: 55 +// CHECK-NEXT: Offset: 0x48 +// CHECK-NEXT: Size: 72 // CHECK-NEXT: Link: 0 // CHECK-NEXT: Info: 0 // CHECK-NEXT: AddressAlignment: 1 // CHECK-NEXT: EntrySize: 0 // CHECK-NEXT: SectionData ( -// CHECK-NEXT: 0000: 33000000 02001C00 00000101 FB0E0D00 +// CHECK-NEXT: 0000: 44000000 02001C00 00000101 FB0E0D00 // CHECK-NEXT: 0010: 01010101 00000001 00000100 666F6F2E // CHECK-NEXT: 0020: 63000000 00000009 02000000 00000000 -// CHECK-NEXT: 0030: 00150204 000101 +// CHECK-NEXT: 0030: 00150205 00010100 09020000 00000000 +// CHECK-NEXT: 0040: 00001602 43000101 // CHECK-NEXT: ) // CHECK-NEXT: } @@ -28,3 +29,8 @@ .file 1 "foo.c" .loc 1 4 0 subq $8, %rsp + +// Test that .loc works with values, not just instructions. + + .loc 1 5 0 + .byte 0xc3 |