diff options
Diffstat (limited to 'compiler/driver')
| -rw-r--r-- | compiler/driver/compiler_options.cc | 3 | ||||
| -rw-r--r-- | compiler/driver/compiler_options.h | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/compiler/driver/compiler_options.cc b/compiler/driver/compiler_options.cc index 09ec9a2973..067e1bd7d6 100644 --- a/compiler/driver/compiler_options.cc +++ b/compiler/driver/compiler_options.cc @@ -30,6 +30,7 @@ CompilerOptions::CompilerOptions() generate_gdb_information_(false), include_patch_information_(kDefaultIncludePatchInformation), top_k_profile_threshold_(kDefaultTopKProfileThreshold), + debuggable_(false), include_debug_symbols_(kDefaultIncludeDebugSymbols), implicit_null_checks_(true), implicit_so_checks_(true), @@ -49,6 +50,7 @@ CompilerOptions::CompilerOptions(CompilerFilter compiler_filter, bool generate_gdb_information, bool include_patch_information, double top_k_profile_threshold, + bool debuggable, bool include_debug_symbols, bool implicit_null_checks, bool implicit_so_checks, @@ -67,6 +69,7 @@ CompilerOptions::CompilerOptions(CompilerFilter compiler_filter, generate_gdb_information_(generate_gdb_information), include_patch_information_(include_patch_information), top_k_profile_threshold_(top_k_profile_threshold), + debuggable_(debuggable), include_debug_symbols_(include_debug_symbols), implicit_null_checks_(implicit_null_checks), implicit_so_checks_(implicit_so_checks), diff --git a/compiler/driver/compiler_options.h b/compiler/driver/compiler_options.h index 0683d185e6..fecc600d64 100644 --- a/compiler/driver/compiler_options.h +++ b/compiler/driver/compiler_options.h @@ -62,6 +62,7 @@ class CompilerOptions FINAL { bool generate_gdb_information, bool include_patch_information, double top_k_profile_threshold, + bool debuggable, bool include_debug_symbols, bool implicit_null_checks, bool implicit_so_checks, @@ -128,6 +129,10 @@ class CompilerOptions FINAL { return top_k_profile_threshold_; } + bool GetDebuggable() const { + return debuggable_; + } + bool GetIncludeDebugSymbols() const { return include_debug_symbols_; } @@ -189,6 +194,7 @@ class CompilerOptions FINAL { const bool include_patch_information_; // When using a profile file only the top K% of the profiled samples will be compiled. const double top_k_profile_threshold_; + const bool debuggable_; const bool include_debug_symbols_; const bool implicit_null_checks_; const bool implicit_so_checks_; |