Index: src/llvm2ice.cpp |
diff --git a/src/llvm2ice.cpp b/src/llvm2ice.cpp |
index f14787705780e13e886531f7eb993a089700a349..3da3f4fa8a246371bc8c9802d53a84292fe687fa 100644 |
--- a/src/llvm2ice.cpp |
+++ b/src/llvm2ice.cpp |
@@ -130,6 +130,11 @@ BuildOnRead("build-on-read", |
cl::desc("Build ICE instructions when reading bitcode"), |
cl::init(false)); |
+static cl::opt<bool> |
+ UseIntegratedAssembler("integrated-as", |
+ cl::desc("Use integrated assembler (default yes)"), |
+ cl::init(true)); |
+ |
int main(int argc, char **argv) { |
cl::ParseCommandLineOptions(argc, argv); |
@@ -158,6 +163,7 @@ int main(int argc, char **argv) { |
Flags.DisableTranslation = DisableTranslation; |
Flags.DisableGlobals = DisableGlobals; |
Flags.FunctionSections = FunctionSections; |
+ Flags.UseIntegratedAssembler = UseIntegratedAssembler; |
Flags.UseSandboxing = UseSandboxing; |
Flags.DumpStats = DumpStats; |
Flags.DefaultGlobalPrefix = DefaultGlobalPrefix; |