summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/ExpandPostRAPseudos.cpp
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@apple.com>2015-05-15 00:20:44 +0000
committerAkira Hatanaka <ahatanaka@apple.com>2015-05-15 00:20:44 +0000
commitff86773f51f214d990540e9542fc706f140e7bc7 (patch)
tree5064b503aeae9d9262149d5d2d9321ead49e5a97 /llvm/lib/CodeGen/ExpandPostRAPseudos.cpp
parent0453be9bd900fcc35ac393fde2a87e206d0d9741 (diff)
downloadbcm5719-llvm-ff86773f51f214d990540e9542fc706f140e7bc7.tar.gz
bcm5719-llvm-ff86773f51f214d990540e9542fc706f140e7bc7.zip
Stop resetting SanitizeAddress in TargetMachine::resetTargetOptions. NFC.
Instead of doing that, create a temporary copy of MCTargetOptions and reset its SanitizeAddress field based on the function's attribute every time an InlineAsm instruction is emitted in AsmPrinter::EmitInlineAsm. This is part of the work to remove TargetMachine::resetTargetOptions (the FIXME added to TargetMachine.cpp in r236009 explains why this function has to be removed). Differential Revision: http://reviews.llvm.org/D9570 llvm-svn: 237412
Diffstat (limited to 'llvm/lib/CodeGen/ExpandPostRAPseudos.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud