summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2013-02-19 23:50:45 +0000
committerChad Rosier <mcrosier@apple.com>2013-02-19 23:50:45 +0000
commit45a52fa097edb9ae619116e68274c908aea66519 (patch)
treef4fd3403ee5a2d76fb9f735f1433ec5216c2a7ad /clang/lib/CodeGen/CodeGenModule.cpp
parent4c96e99235b32b594abaf93e5c16c81aae7acb3c (diff)
downloadbcm5719-llvm-45a52fa097edb9ae619116e68274c908aea66519.tar.gz
bcm5719-llvm-45a52fa097edb9ae619116e68274c908aea66519.zip
[ms-inline asm] Force the use of a base pointer if the MachineFunction includes
MS-style inline assembly. This is a follow-on to r175334. Forcing a FP to be emitted doesn't ensure it will be used. Therefore, force the base pointer as well. We now treat MS inline assembly in the same way we treat functions with dynamic stack realignment and VLAs. This guarantees the BP will be used to reference parameters and locals. rdar://13218191 llvm-svn: 175576
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud