diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/llc/llc.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp index 435d4e22b7..f8f0283191 100644 --- a/tools/llc/llc.cpp +++ b/tools/llc/llc.cpp @@ -58,6 +58,10 @@ TimeCompilations("time-compilations", cl::Hidden, cl::init(1u), cl::value_desc("N"), cl::desc("Repeat compilation N times for timing")); +static cl::opt<bool> +NoIntegratedAssembler("no-integrated-as", cl::Hidden, + cl::desc("Disable integrated assembler")); + // Determine optimization level. static cl::opt<char> OptLevel("O", @@ -260,6 +264,7 @@ static int compileModule(char **argv, LLVMContext &Context) { } TargetOptions Options = InitTargetOptionsFromCodeGenFlags(); + Options.DisableIntegratedAS = NoIntegratedAssembler; OwningPtr<TargetMachine> target(TheTarget->createTargetMachine(TheTriple.getTriple(), |