diff options
author | Adrian Prantl <aprantl@apple.com> | 2014-02-12 19:34:44 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2014-02-12 19:34:44 +0000 |
commit | 4c1ea6b115235208d3f812cb4c30e0b7cd385c13 (patch) | |
tree | a35f1e940c7e287999681d76b8ffef169192f3d4 /test | |
parent | 386fedd32e7c1bdbcb4d17ef948b591b639b135e (diff) | |
download | llvm-4c1ea6b115235208d3f812cb4c30e0b7cd385c13.tar.gz llvm-4c1ea6b115235208d3f812cb4c30e0b7cd385c13.tar.bz2 llvm-4c1ea6b115235208d3f812cb4c30e0b7cd385c13.tar.xz |
Debug info: Bugfix for r201190: DW_OP_piece takes bytes, not bits.
rdar://problem/16015314
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201253 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/DebugInfo/X86/subreg.ll | 2 | ||||
-rw-r--r-- | test/DebugInfo/X86/subregisters.ll | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/DebugInfo/X86/subreg.ll b/test/DebugInfo/X86/subreg.ll index 58e3bfc3bc..94526ffae8 100644 --- a/test/DebugInfo/X86/subreg.ll +++ b/test/DebugInfo/X86/subreg.ll @@ -5,7 +5,7 @@ ; CHECK: .byte 80 # DW_OP_reg0 ; CHECK: .byte 147 # DW_OP_piece -; CHECK: .byte 16 # 16 +; CHECK: .byte 2 # 2 define i16 @f(i16 signext %zzz) nounwind { entry: diff --git a/test/DebugInfo/X86/subregisters.ll b/test/DebugInfo/X86/subregisters.ll index ac0c383986..738ab02c0c 100644 --- a/test/DebugInfo/X86/subregisters.ll +++ b/test/DebugInfo/X86/subregisters.ll @@ -7,7 +7,7 @@ ; rdar://problem/16015314 ; ; CHECK: DW_AT_name [DW_FORM_strp]{{.*}} "a" -; CHECK: DW_AT_location [DW_FORM_block1] (<0x03> 54 93 20 ) +; CHECK: DW_AT_location [DW_FORM_block1] (<0x03> 54 93 04 ) ; ; struct bar { ; int a; |