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

Unified Diff: src/IceClFlags.cpp

Issue 1215463014: Modify how textual bitcode is injected into pnacl-sz. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix issues in path set 3. Created 5 years, 5 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
« no previous file with comments | « src/IceBuildDefs.h ('k') | src/IceClFlagsExtra.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceClFlags.cpp
diff --git a/src/IceClFlags.cpp b/src/IceClFlags.cpp
index 746cb3e4adc51d7fbd63383577f5c8fc79a89b0d..c6ea696832add1cc872e7f80ed00af082ec60cba 100644
--- a/src/IceClFlags.cpp
+++ b/src/IceClFlags.cpp
@@ -314,6 +314,12 @@ cl::opt<bool> ReorderPooledConstants(
cl::desc("Reorder the layout of constants in constant pools"),
cl::init(false));
+// Command line option for accepting textual bitcode.
+cl::opt<bool> BitcodeAsText(
+ "bitcode-as-text",
+ cl::desc(
+ "Accept textual form of PNaCl bitcode records (i.e. not .ll assembly)"),
+ cl::init(false));
} // end of anonymous namespace
namespace Ice {
@@ -442,6 +448,7 @@ void ClFlags::getParsedClFlags(ClFlags &OutFlags) {
void ClFlags::getParsedClFlagsExtra(ClFlagsExtra &OutFlagsExtra) {
OutFlagsExtra.setAlwaysExitSuccess(AlwaysExitSuccess);
+ OutFlagsExtra.setBitcodeAsText(BitcodeAsText);
OutFlagsExtra.setBuildOnRead(BuildOnRead);
OutFlagsExtra.setGenerateBuildAtts(GenerateBuildAtts);
OutFlagsExtra.setLLVMVerboseErrors(LLVMVerboseErrors);
« no previous file with comments | « src/IceBuildDefs.h ('k') | src/IceClFlagsExtra.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698