Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(469)

Unified Diff: src/llvm2ice.cpp

Issue 476323004: Start adding an integrated assembler. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: simplify Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/llvm2ice.cpp
diff --git a/src/llvm2ice.cpp b/src/llvm2ice.cpp
index a4a96b9808309c73e6ae1cd63d915fd9067e53cd..412b76642b101f1e6a65a1084e41eac75f4fe3c1 100644
--- a/src/llvm2ice.cpp
+++ b/src/llvm2ice.cpp
@@ -108,6 +108,9 @@ static cl::opt<bool>
BuildOnRead("build-on-read",
cl::desc("Build ICE instructions when reading bitcode"),
cl::init(false));
+static cl::opt<bool>
+ DisableIntegratedAssembler("no-integrated-as",
Jim Stichnoth 2014/09/04 20:57:48 Can the sense of this be reversed for better clari
jvoung (off chromium) 2014/09/08 21:39:00 Done. I started with UseIntegratedAssembler cl::i
+ cl::desc("Do not use integrated assembler"));
int main(int argc, char **argv) {
@@ -138,6 +141,7 @@ int main(int argc, char **argv) {
Flags.DisableGlobals = DisableGlobals;
Flags.FunctionSections = FunctionSections;
Flags.UseSandboxing = UseSandboxing;
+ Flags.UseIntegratedAssembler = !DisableIntegratedAssembler;
Ice::GlobalContext Ctx(Ls, Os, VMask, TargetArch, OptLevel, TestPrefix,
Flags);

Powered by Google App Engine
This is Rietveld 408576698