summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2015-06-27 20:12:43 +0000
committerAdrian Prantl <aprantl@apple.com>2015-06-27 20:12:43 +0000
commit57c7a62b973e909c29a7da46bae11051b16a5de8 (patch)
tree192653cde79baf5e387cb4a6de43a133abf3f64a /llvm/test
parent43899d44c2f47e2fbd29e8d3745f1f68e29ba306 (diff)
downloadbcm5719-llvm-57c7a62b973e909c29a7da46bae11051b16a5de8.tar.gz
bcm5719-llvm-57c7a62b973e909c29a7da46bae11051b16a5de8.zip
Debug Info: One more bitfield bugfix. While yesterday's r240853 fixed
the DW_AT_bit_offset computation, the byte offset is in fact also endian-dependent as it needs to point to the storage unit containing the most-significant bit of the the bitfield. I'm so looking forward to emitting the endian-agnostic DWARF 3 version instead. llvm-svn: 240890
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/DebugInfo/ARM/bitfield.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/DebugInfo/ARM/bitfield.ll b/llvm/test/DebugInfo/ARM/bitfield.ll
index 9b41e4e4f7b..8f9d95d364e 100644
--- a/llvm/test/DebugInfo/ARM/bitfield.ll
+++ b/llvm/test/DebugInfo/ARM/bitfield.ll
@@ -14,7 +14,7 @@
; CHECK: DW_AT_byte_size {{.*}} (0x04)
; CHECK: DW_AT_bit_size {{.*}} (0x1c)
; CHECK: DW_AT_bit_offset {{.*}} (0x18)
-; CHECK: DW_AT_data_member_location {{.*}}00
+; CHECK: DW_AT_data_member_location {{.*}}04
target datalayout = "e-m:o-p:32:32-f64:32:64-v64:32:64-v128:32:128-a:0:32-n32-S32"
target triple = "thumbv7-apple-ios"
OpenPOWER on IntegriCloud