mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-21 23:17:16 +00:00
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201836 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user