diff options
Diffstat (limited to 'compiler/driver/compiler_options_map-inl.h')
-rw-r--r-- | compiler/driver/compiler_options_map-inl.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/compiler/driver/compiler_options_map-inl.h b/compiler/driver/compiler_options_map-inl.h index 32fc887b8e..9914d81122 100644 --- a/compiler/driver/compiler_options_map-inl.h +++ b/compiler/driver/compiler_options_map-inl.h @@ -58,6 +58,9 @@ inline bool ReadCompilerOptions(Base& map, CompilerOptions* options, std::string if (map.Exists(Base::Debuggable)) { options->debuggable_ = true; } + if (map.Exists(Base::Baseline)) { + options->baseline_ = true; + } map.AssignIfExists(Base::TopKProfileThreshold, &options->top_k_profile_threshold_); map.AssignIfExists(Base::AbortOnHardVerifierFailure, &options->abort_on_hard_verifier_failure_); map.AssignIfExists(Base::AbortOnSoftVerifierFailure, &options->abort_on_soft_verifier_failure_); @@ -159,6 +162,9 @@ inline void AddCompilerOptionsArgumentParserOptions(Builder& b) { .Define("--debuggable") .IntoKey(Map::Debuggable) + .Define("--baseline") + .IntoKey(Map::Baseline) + .Define("--top-k-profile-threshold=_") .template WithType<double>().WithRange(0.0, 100.0) .IntoKey(Map::TopKProfileThreshold) |