Go to file
Bjorn Pettersson 839775a277 [Debug info] Handle endianness when moving debug info for split integer values
Summary:
Take the target's endianness into account when splitting the
debug information in DAGTypeLegalizer::SetExpandedInteger.

This patch fixes so that, for big-endian targets, the fragment
expression corresponding to the high part of a split integer
value is placed at offset 0, in order to correctly represent
the memory address order.

I have attached a PPC32 reproducer where the resulting DWARF
pieces for a 64-bit integer were incorrectly reversed.

Patch by: dstenb

Reviewers: JDevlieghere, aprantl, dblaikie

Reviewed By: JDevlieghere, aprantl, dblaikie

Subscribers: nemanjai

Differential Revision: https://reviews.llvm.org/D38172

llvm-svn: 314666
2017-10-02 12:46:32 +00:00
clang [CodeGen] Have a special function to get TBAA info for may-alias accesses 2017-10-02 11:10:04 +00:00
clang-tools-extra [NFC] Sync function call with changes to interface made in r314593. 2017-09-30 14:36:00 +00:00
compiler-rt Use %run for running CFI tests 2017-10-02 10:21:26 +00:00
debuginfo-tests Revert r313600 due to bot failures on Green Dragon. 2017-09-19 14:51:37 +00:00
libclc Let get_work_dim take exactly 0 arguments 2017-10-01 20:11:46 +00:00
libcxx [test] Allow other implementations to strengthen noexcept on deque's move constructor 2017-09-30 23:15:22 +00:00
libcxxabi Fix ASAN build with older compiler-rt versions. 2017-09-14 22:37:34 +00:00
libunwind SjLj: Fix building after SVN r314632 2017-10-01 20:22:40 +00:00
lld [ELF] - Stop removing sections in removeUnusedSyntheticSections(). 2017-10-02 09:11:13 +00:00
lldb [lldb-mi] Fix a thinko in my previous commit. 2017-09-30 21:52:31 +00:00
llgo irgen: Create functions instead of global variables for builtin hash and equal algorithms. 2017-06-04 22:11:28 +00:00
llvm [Debug info] Handle endianness when moving debug info for split integer values 2017-10-02 12:46:32 +00:00
openmp [test] Fix uninitialized memory in omp_taskloop_grainsize.c 2017-09-29 13:53:03 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly [ScopBuilder] Iterate over statement instructions. NFC. 2017-10-02 11:41:33 +00:00