diff options
author | Akira Hatanaka <ahatanaka@apple.com> | 2015-05-15 00:20:44 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@apple.com> | 2015-05-15 00:20:44 +0000 |
commit | ff86773f51f214d990540e9542fc706f140e7bc7 (patch) | |
tree | 5064b503aeae9d9262149d5d2d9321ead49e5a97 /llvm/lib/CodeGen/ScheduleDAGPrinter.cpp | |
parent | 0453be9bd900fcc35ac393fde2a87e206d0d9741 (diff) | |
download | bcm5719-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/ScheduleDAGPrinter.cpp')
0 files changed, 0 insertions, 0 deletions