summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2009-11-19 23:10:28 +0000
committerJim Grosbach <grosbach@apple.com>2009-11-19 23:10:28 +0000
commitb73918c42df3f6a45311f6926989d18040c82ed6 (patch)
tree4b3c233499bf8cd73d70b266a2a8b16df9f6e725 /clang/lib/CodeGen/CodeGenModule.cpp
parent8cd7813ca3e90621cb31dcc76cf573c2d4f17fe2 (diff)
downloadbcm5719-llvm-b73918c42df3f6a45311f6926989d18040c82ed6.tar.gz
bcm5719-llvm-b73918c42df3f6a45311f6926989d18040c82ed6.zip
When placing constant islands and adjusting for alignment padding, inline
assembly can confuse things utterly, as it's assumed that instructions in inline assembly are 4 bytes wide. For Thumb mode, that's often not true, so the calculations for when alignment padding will be present get thrown off, ultimately leading to out of range constant pool entry references. Making more conservative assumptions that padding may be necessary when inline asm is present avoids this situation. llvm-svn: 89403
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud