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

Side by Side Diff: src/IceClFlags.cpp

Issue 1424353003: Don't allow hybrid assembler unless filetype=iasm. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 5 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 //===- subzero/src/IceClFlags.cpp - Command line flags and parsing --------===// 1 //===- subzero/src/IceClFlags.cpp - Command line flags and parsing --------===//
2 // 2 //
3 // The Subzero Code Generator 3 // The Subzero Code Generator
4 // 4 //
5 // This file is distributed under the University of Illinois Open Source 5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details. 6 // License. See LICENSE.TXT for details.
7 // 7 //
8 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===//
9 /// 9 ///
10 /// \file 10 /// \file
(...skipping 433 matching lines...) Expand 10 before | Expand all | Expand 10 after
444 444
445 OutFlags.setAllowErrorRecovery(::AllowErrorRecovery); 445 OutFlags.setAllowErrorRecovery(::AllowErrorRecovery);
446 OutFlags.setAllowExternDefinedSymbols(::AllowExternDefinedSymbols || 446 OutFlags.setAllowExternDefinedSymbols(::AllowExternDefinedSymbols ||
447 ::DisableInternal); 447 ::DisableInternal);
448 OutFlags.setAllowIacaMarks(::AllowIacaMarks); 448 OutFlags.setAllowIacaMarks(::AllowIacaMarks);
449 OutFlags.setAllowUninitializedGlobals(::AllowUninitializedGlobals); 449 OutFlags.setAllowUninitializedGlobals(::AllowUninitializedGlobals);
450 OutFlags.setDataSections(::DataSections); 450 OutFlags.setDataSections(::DataSections);
451 OutFlags.setDecorateAsm(::DecorateAsm); 451 OutFlags.setDecorateAsm(::DecorateAsm);
452 OutFlags.setDefaultFunctionPrefix(::DefaultFunctionPrefix); 452 OutFlags.setDefaultFunctionPrefix(::DefaultFunctionPrefix);
453 OutFlags.setDefaultGlobalPrefix(::DefaultGlobalPrefix); 453 OutFlags.setDefaultGlobalPrefix(::DefaultGlobalPrefix);
454 OutFlags.setDisableHybridAssembly(::DisableHybridAssembly); 454 OutFlags.setDisableHybridAssembly(::DisableHybridAssembly ||
455 (::OutFileType != Ice::FT_Iasm));
455 OutFlags.setDisableInternal(::DisableInternal); 456 OutFlags.setDisableInternal(::DisableInternal);
456 OutFlags.setDisableIRGeneration(::DisableIRGeneration); 457 OutFlags.setDisableIRGeneration(::DisableIRGeneration);
457 OutFlags.setDisableTranslation(::DisableTranslation); 458 OutFlags.setDisableTranslation(::DisableTranslation);
458 OutFlags.setDumpStats(::DumpStats); 459 OutFlags.setDumpStats(::DumpStats);
459 OutFlags.setEnableBlockProfile(::EnableBlockProfile); 460 OutFlags.setEnableBlockProfile(::EnableBlockProfile);
460 OutFlags.setForceMemIntrinOpt(::ForceMemIntrinOpt); 461 OutFlags.setForceMemIntrinOpt(::ForceMemIntrinOpt);
461 OutFlags.setFunctionSections(::FunctionSections); 462 OutFlags.setFunctionSections(::FunctionSections);
462 OutFlags.setNumTranslationThreads(::NumThreads); 463 OutFlags.setNumTranslationThreads(::NumThreads);
463 OutFlags.setOptLevel(::OLevel); 464 OutFlags.setOptLevel(::OLevel);
464 OutFlags.setMockBoundsCheck(::MockBoundsCheck); 465 OutFlags.setMockBoundsCheck(::MockBoundsCheck);
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
500 OutFlagsExtra.setGenerateBuildAtts(GenerateBuildAtts); 501 OutFlagsExtra.setGenerateBuildAtts(GenerateBuildAtts);
501 OutFlagsExtra.setLLVMVerboseErrors(LLVMVerboseErrors); 502 OutFlagsExtra.setLLVMVerboseErrors(LLVMVerboseErrors);
502 OutFlagsExtra.setAppName(AppName); 503 OutFlagsExtra.setAppName(AppName);
503 OutFlagsExtra.setInputFileFormat(InputFileFormat); 504 OutFlagsExtra.setInputFileFormat(InputFileFormat);
504 OutFlagsExtra.setIRFilename(IRFilename); 505 OutFlagsExtra.setIRFilename(IRFilename);
505 OutFlagsExtra.setLogFilename(LogFilename); 506 OutFlagsExtra.setLogFilename(LogFilename);
506 OutFlagsExtra.setOutputFilename(OutputFilename); 507 OutFlagsExtra.setOutputFilename(OutputFilename);
507 } 508 }
508 509
509 } // end of namespace Ice 510 } // end of namespace Ice
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698