aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objdump
diff options
context:
space:
mode:
authorXing Xue <xingxue@outlook.com>2022-06-24 17:25:15 -0400
committerXing Xue <xingxue@outlook.com>2022-06-24 17:25:15 -0400
commit60f7bdfd0317cb38eda54637cdab9baed8ae2f57 (patch)
tree469fca5116bea2bec1729e68d577b41cec026e43 /llvm/tools/llvm-objdump
parent00e9d53453abc8f2e3d69e9c7fba83dc65a74259 (diff)
downloadllvm-60f7bdfd0317cb38eda54637cdab9baed8ae2f57.zip
llvm-60f7bdfd0317cb38eda54637cdab9baed8ae2f57.tar.gz
llvm-60f7bdfd0317cb38eda54637cdab9baed8ae2f57.tar.bz2
[libc++][AIX] Make basic_string layout compatible with earlier version
Summary: Patch D123580 changed to use bit fields for strings in long and short mode. As a result, this changes the layout of these strings on AIX because bit fields on AIX are 4 bytes, which breaks the ABI compatibility with earlier strings before the change on AIX. This patch uses the attribute 'packed' and anonymous structure to make string layout compatible. This patch will also make test cases alignof.compile.pass.cpp and sizeof.compile.pass.cpp introduced in D127672 pass on AIX. Reviewed by: philnik, Mordante, hubert.reinterpretcast, libc++ Differential Revision: https://reviews.llvm.org/D128285
Diffstat (limited to 'llvm/tools/llvm-objdump')
0 files changed, 0 insertions, 0 deletions