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

Unified Diff: src/IceClFlags.h

Issue 920953002: Subzero: Use -filetype instead of -ias and -elf-writer. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Explicitly set the output file type for unit tests Created 5 years, 10 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 | « pydir/szbuild.py ('k') | src/IceDefs.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceClFlags.h
diff --git a/src/IceClFlags.h b/src/IceClFlags.h
index 43527b80d7bae930aa4a2a4daf6a106a05e9aaa6..3ddbbf8195b66fde39b05bbc21ab6ef37a1af449 100644
--- a/src/IceClFlags.h
+++ b/src/IceClFlags.h
@@ -31,8 +31,9 @@ public:
DisableTranslation(false), DumpStats(false), FunctionSections(false),
GenerateUnitTestMessages(false), PhiEdgeSplit(false),
StubConstantCalls(false), SubzeroTimingEnabled(false),
- TimeEachFunction(false), UseELFWriter(false),
- UseIntegratedAssembler(false), UseSandboxing(false),
+ TimeEachFunction(false), UseSandboxing(false),
+ // FileType field
+ OutFileType(FT_Iasm),
// IceString fields.
DefaultFunctionPrefix(""), DefaultGlobalPrefix(""), TimingFocusOn(""),
TranslateOnly(""), VerboseFocusOn(""),
@@ -99,17 +100,13 @@ public:
bool getTimeEachFunction() const { return ALLOW_DUMP && TimeEachFunction; }
void setTimeEachFunction(bool NewValue) { TimeEachFunction = NewValue; }
- bool getUseELFWriter() const { return UseELFWriter; }
- void setUseELFWriter(bool NewValue) { UseELFWriter = NewValue; }
-
- bool getUseIntegratedAssembler() const { return UseIntegratedAssembler; }
- void setUseIntegratedAssembler(bool NewValue) {
- UseIntegratedAssembler = NewValue;
- }
-
bool getUseSandboxing() const { return UseSandboxing; }
void setUseSandboxing(bool NewValue) { UseSandboxing = NewValue; }
+ // FileType accessor.
+ FileType getOutFileType() const { return OutFileType; }
+ void setOutFileType(FileType NewValue) { OutFileType = NewValue; }
+
// IceString accessors.
const IceString &getDefaultFunctionPrefix() const {
@@ -160,10 +157,10 @@ private:
bool StubConstantCalls;
bool SubzeroTimingEnabled;
bool TimeEachFunction;
- bool UseELFWriter;
- bool UseIntegratedAssembler;
bool UseSandboxing;
+ FileType OutFileType;
+
IceString DefaultFunctionPrefix;
IceString DefaultGlobalPrefix;
IceString TimingFocusOn;
« no previous file with comments | « pydir/szbuild.py ('k') | src/IceDefs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698