diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2011-01-23 17:55:27 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2011-01-23 17:55:27 +0000 |
| commit | b3eca9bb71aa5cc0b5f6c88fd98b50b495c38dc3 (patch) | |
| tree | 2c551745caec807a795a1f91e5bc4133911fb492 /llvm/lib/CodeGen/LLVMTargetMachine.cpp | |
| parent | 8f01420d9d10c5ec56f917cc0f8923ff61647795 (diff) | |
| download | bcm5719-llvm-b3eca9bb71aa5cc0b5f6c88fd98b50b495c38dc3.tar.gz bcm5719-llvm-b3eca9bb71aa5cc0b5f6c88fd98b50b495c38dc3.zip | |
Add support for the --noexecstack option.
llvm-svn: 124077
Diffstat (limited to 'llvm/lib/CodeGen/LLVMTargetMachine.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/LLVMTargetMachine.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LLVMTargetMachine.cpp b/llvm/lib/CodeGen/LLVMTargetMachine.cpp index 5cff96db736..80dfc763af6 100644 --- a/llvm/lib/CodeGen/LLVMTargetMachine.cpp +++ b/llvm/lib/CodeGen/LLVMTargetMachine.cpp @@ -168,7 +168,8 @@ bool LLVMTargetMachine::addPassesToEmitFile(PassManagerBase &PM, AsmStreamer.reset(getTarget().createObjectStreamer(TargetTriple, *Context, *TAB, Out, MCE, - hasMCRelaxAll())); + hasMCRelaxAll(), + hasMCNoExecStack())); AsmStreamer.get()->InitSections(); break; } |

