diff options
author | Adrian Prantl <aprantl@apple.com> | 2016-04-28 15:37:52 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2016-04-28 15:37:52 +0000 |
commit | e5447574c8f58b766659ab93198916b85e52ef96 (patch) | |
tree | 43b189594ed0038fe64a548ab60eb439503d240a /llvm/test/DebugInfo/ARM/bitfield.ll | |
parent | f393d313ece93b7ab10bbbc0776bf10e4617cfda (diff) | |
download | bcm5719-llvm-e5447574c8f58b766659ab93198916b85e52ef96.tar.gz bcm5719-llvm-e5447574c8f58b766659ab93198916b85e52ef96.zip |
Debug Info: Restore the pre-r240853 behavior for DWARF2 bitfields.
The DWARF2 specification of DW_AT_bit_offset is ambiguous for
little-endian machines, but by restoring to the old behavior
we match what debuggers expect and what other popular compilers
generate.
llvm-svn: 267896
Diffstat (limited to 'llvm/test/DebugInfo/ARM/bitfield.ll')
-rw-r--r-- | llvm/test/DebugInfo/ARM/bitfield.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/DebugInfo/ARM/bitfield.ll b/llvm/test/DebugInfo/ARM/bitfield.ll index c7d7bead758..6fe1d48f8c5 100644 --- a/llvm/test/DebugInfo/ARM/bitfield.ll +++ b/llvm/test/DebugInfo/ARM/bitfield.ll @@ -13,7 +13,7 @@ ; CHECK: DW_AT_name {{.*}} "reserved" ; CHECK: DW_AT_byte_size {{.*}} (0x04) ; CHECK: DW_AT_bit_size {{.*}} (0x1c) -; CHECK: DW_AT_bit_offset {{.*}} (0x18) +; CHECK: DW_AT_bit_offset {{.*}} (0xfffffffffffffff8) ; CHECK: DW_AT_data_member_location {{.*}}00 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" |