diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-11-05 11:52:44 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-11-05 11:52:44 +0000 |
commit | c25c90897781f116d5dbabab170bafcf65900fa7 (patch) | |
tree | a6624495facbcb2075f51f1f14ef453fab1b8a22 /test | |
parent | 336b88dac8054d6ed6cda6d6198b7d4bb026b3e1 (diff) | |
download | external_llvm-c25c90897781f116d5dbabab170bafcf65900fa7.zip external_llvm-c25c90897781f116d5dbabab170bafcf65900fa7.tar.gz external_llvm-c25c90897781f116d5dbabab170bafcf65900fa7.tar.bz2 |
Add an option to pad an uleb128 to MCObjectWriter and remove the uleb128 encoding from the DWARF asm printer.
As a side effect we now print dwarf ulebs with .ascii directives.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143809 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/ARM/debug-info-qreg.ll | 6 | ||||
-rw-r--r-- | test/CodeGen/ARM/debug-info-s16-reg.ll | 3 | ||||
-rw-r--r-- | test/CodeGen/X86/2010-06-28-DbgEntryPC.ll | 2 |
3 files changed, 4 insertions, 7 deletions
diff --git a/test/CodeGen/ARM/debug-info-qreg.ll b/test/CodeGen/ARM/debug-info-qreg.ll index e83a83d..97c9c66 100644 --- a/test/CodeGen/ARM/debug-info-qreg.ll +++ b/test/CodeGen/ARM/debug-info-qreg.ll @@ -3,13 +3,11 @@ target datalayout = "e-p:32:32:32-i1:8:32-i8:8:32-i16:16:32-i32:32:32-i64:32:32- target triple = "thumbv7-apple-macosx10.6.7" ;CHECK: DW_OP_regx for Q register: D1 -;CHECK-NEXT: byte -;CHECK-NEXT: byte +;CHECK-NEXT: ascii ;CHECK-NEXT: DW_OP_piece 8 ;CHECK-NEXT: byte 8 ;CHECK-NEXT: DW_OP_regx for Q register: D2 -;CHECK-NEXT: byte -;CHECK-NEXT: byte +;CHECK-NEXT: ascii ;CHECK-NEXT: DW_OP_piece 8 ;CHECK-NEXT: byte 8 diff --git a/test/CodeGen/ARM/debug-info-s16-reg.ll b/test/CodeGen/ARM/debug-info-s16-reg.ll index 548c9bd..db41143 100644 --- a/test/CodeGen/ARM/debug-info-s16-reg.ll +++ b/test/CodeGen/ARM/debug-info-s16-reg.ll @@ -2,8 +2,7 @@ ; Radar 9309221 ; Test dwarf reg no for s16 ;CHECK: DW_OP_regx for S register -;CHECK-NEXT: byte -;CHECK-NEXT: byte +;CHECK-NEXT: ascii ;CHECK-NEXT: DW_OP_bit_piece 32 0 target datalayout = "e-p:32:32:32-i1:8:32-i8:8:32-i16:16:32-i32:32:32-i64:32:32-f32:32:32-f64:32:32-v64:32:64-v128:32:128-a0:0:32-n32" diff --git a/test/CodeGen/X86/2010-06-28-DbgEntryPC.ll b/test/CodeGen/X86/2010-06-28-DbgEntryPC.ll index b9b538a..628790c 100644 --- a/test/CodeGen/X86/2010-06-28-DbgEntryPC.ll +++ b/test/CodeGen/X86/2010-06-28-DbgEntryPC.ll @@ -16,7 +16,7 @@ ; CHECK-NEXT: .byte 6 ## DW_FORM_data4 ; CHECK-NEXT: .byte 27 ## DW_AT_comp_dir ; CHECK-NEXT: .byte 14 ## DW_FORM_strp -; CHECK-NEXT: .byte 225 ## DW_AT_APPLE_optimized +; CHECK-NEXT: .ascii "\341\177" ## DW_AT_APPLE_optimized %struct.a = type { i32, %struct.a* } |