summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2016-04-28 15:37:48 +0000
committerAdrian Prantl <aprantl@apple.com>2016-04-28 15:37:48 +0000
commitf393d313ece93b7ab10bbbc0776bf10e4617cfda (patch)
treeb53c3ff4fe5d2dfcdb932aebc5369a1d50b97b44 /clang/lib/Frontend/CompilerInvocation.cpp
parentbcdce3fd85dfb3942c8996430e429824667a6ed1 (diff)
downloadbcm5719-llvm-f393d313ece93b7ab10bbbc0776bf10e4617cfda.tar.gz
bcm5719-llvm-f393d313ece93b7ab10bbbc0776bf10e4617cfda.zip
Debug info: Support DWARF4 bitfields via DW_AT_data_bit_offset.
The DWARF2 specification of DW_AT_bit_offset was written from the perspective of a big-endian machine with unclear semantics for other systems. DWARF4 deprecated DW_AT_bit_offset and introduced a new attribute DW_AT_data_bit_offset that simply counts the number of bits from the beginning of the containing entity regardless of endianness. After this patch LLVM emits DW_AT_bit_offset for DWARF 2 or 3 and DW_AT_data_bit_offset when DWARF 4 or later is requested. llvm-svn: 267895
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud