diff options
author | Stephen Hines <srhines@google.com> | 2014-06-10 18:07:10 -0700 |
---|---|---|
committer | Stephen Hines <srhines@google.com> | 2014-06-11 11:05:35 -0700 |
commit | fc4f78b9c7941132fb048a83f0e4ba528c3b4fd0 (patch) | |
tree | 41112504a79c21d6331ab9813a8c87ceaee07b5e /rs_cc_options.h | |
parent | 7f5704efe0c59d5599f1ac7056976225dbfab946 (diff) | |
download | android_frameworks_compile_slang-fc4f78b9c7941132fb048a83f0e4ba528c3b4fd0.tar.gz android_frameworks_compile_slang-fc4f78b9c7941132fb048a83f0e4ba528c3b4fd0.tar.bz2 android_frameworks_compile_slang-fc4f78b9c7941132fb048a83f0e4ba528c3b4fd0.zip |
Add -v (-verbose/--verbose) option to llvm-rs-cc.
This change also suppresses the display of "Generating Script*." output by
default.
Change-Id: I034a3ba20acf64e1eb9ecc02133edb03b643d559
Diffstat (limited to 'rs_cc_options.h')
-rw-r--r-- | rs_cc_options.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rs_cc_options.h b/rs_cc_options.h index 2905ac9..eff673a 100644 --- a/rs_cc_options.h +++ b/rs_cc_options.h @@ -99,6 +99,9 @@ class RSCCOptions { // The optimization level used in CodeGen, and encoded in emitted bitcode. llvm::CodeGenOpt::Level mOptimizationLevel; + // Display verbose information about the compilation on stdout. + bool mVerbose; + RSCCOptions() { mOutputType = slang::Slang::OT_Bitcode; // Triple/CPU/Features must be hard-coded to our chosen portable ABI. @@ -112,6 +115,7 @@ class RSCCOptions { mTargetAPI = RS_VERSION; mDebugEmission = 0; mOptimizationLevel = llvm::CodeGenOpt::Aggressive; + mVerbose = false; } }; |