diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-02-21 03:13:54 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-02-21 03:13:54 +0000 |
commit | 48fa6ed1535ae5a94b7710482355e0f13353c5c6 (patch) | |
tree | ab069566d69b014a9eb0d35ba20e9a54b1c71257 /llvm/lib/CodeGen | |
parent | e4a5220d7c463d5f891f23e520f54e7734c24960 (diff) | |
download | bcm5719-llvm-48fa6ed1535ae5a94b7710482355e0f13353c5c6.tar.gz bcm5719-llvm-48fa6ed1535ae5a94b7710482355e0f13353c5c6.zip |
Make DisableIntegratedAS a TargetOption.
This replaces the old NoIntegratedAssembler with at TargetOption. This is
more flexible and will be used to forward clang's -no-integrated-as option.
llvm-svn: 201836
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/LLVMTargetMachine.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/llvm/lib/CodeGen/LLVMTargetMachine.cpp b/llvm/lib/CodeGen/LLVMTargetMachine.cpp index 51cd9d68617..6c217cd232e 100644 --- a/llvm/lib/CodeGen/LLVMTargetMachine.cpp +++ b/llvm/lib/CodeGen/LLVMTargetMachine.cpp @@ -53,10 +53,6 @@ static cl::opt<cl::boolOrDefault> AsmVerbose("asm-verbose", cl::desc("Add comments to directives."), cl::init(cl::BOU_UNSET)); -static cl::opt<bool> -NoIntegratedAssembler("no-integrated-as", cl::Hidden, - cl::desc("Disable integrated assembler")); - static bool getVerboseAsm() { switch (AsmVerbose) { case cl::BOU_UNSET: return TargetMachine::getAsmVerbosityDefault(); @@ -77,7 +73,7 @@ void LLVMTargetMachine::initAsmInfo() { "Make sure you include the correct TargetSelect.h" "and that InitializeAllTargetMCs() is being invoked!"); - if (NoIntegratedAssembler) + if (Options.DisableIntegratedAS) TmpAsmInfo->setUseIntegratedAssembler(false); AsmInfo = TmpAsmInfo; |