summaryrefslogtreecommitdiffstats
path: root/lldb/unittests/ObjectFile/ELF/TestELFHeader.cpp
diff options
context:
space:
mode:
authorGeorge Rokos <grokos@us.ibm.com>2018-07-19 13:41:03 +0000
committerGeorge Rokos <grokos@us.ibm.com>2018-07-19 13:41:03 +0000
commita0da24683b2bf40a3c16077834ca2ac98622591c (patch)
tree4ce399e2b75630893c5bad3596296f3d4efbcecf /lldb/unittests/ObjectFile/ELF/TestELFHeader.cpp
parenta67eb91047ac16ad757fc85eb2b9f35c649acb34 (diff)
downloadbcm5719-llvm-a0da24683b2bf40a3c16077834ca2ac98622591c.tar.gz
bcm5719-llvm-a0da24683b2bf40a3c16077834ca2ac98622591c.zip
[OpenMP][libomptarget] New map interface: remove translation code and ensure proper alignment of struct members
This patch removes the translation code since this functionality is now implemented in the compiler. target_data_begin and target_data_end are also patched to handle some special cases that used to be handled by the obsolete translation function, namely ensure proper alignment of struct members when we have partially mapped structs. Mapping a struct from a higher address (i.e. not from its beginning) can result in distortion of the alignment for some of its member fields. Padding restores the original (proper) alignment. Differential revision: https://reviews.llvm.org/D44186 llvm-svn: 337455
Diffstat (limited to 'lldb/unittests/ObjectFile/ELF/TestELFHeader.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud