diff options
Diffstat (limited to 'compiler/driver/compiler_options.h')
-rw-r--r-- | compiler/driver/compiler_options.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/compiler/driver/compiler_options.h b/compiler/driver/compiler_options.h index 9f6745b015..39738ab049 100644 --- a/compiler/driver/compiler_options.h +++ b/compiler/driver/compiler_options.h @@ -43,7 +43,8 @@ class CompilerOptions { large_method_threshold_(kDefaultLargeMethodThreshold), small_method_threshold_(kDefaultSmallMethodThreshold), tiny_method_threshold_(kDefaultTinyMethodThreshold), - num_dex_methods_threshold_(kDefaultNumDexMethodsThreshold) + num_dex_methods_threshold_(kDefaultNumDexMethodsThreshold), + generate_gdb_information_(false) #ifdef ART_SEA_IR_MODE , sea_ir_mode_(false) #endif @@ -54,7 +55,8 @@ class CompilerOptions { size_t large_method_threshold, size_t small_method_threshold, size_t tiny_method_threshold, - size_t num_dex_methods_threshold + size_t num_dex_methods_threshold, + bool generate_gdb_information #ifdef ART_SEA_IR_MODE , bool sea_ir_mode #endif @@ -64,7 +66,8 @@ class CompilerOptions { large_method_threshold_(large_method_threshold), small_method_threshold_(small_method_threshold), tiny_method_threshold_(tiny_method_threshold), - num_dex_methods_threshold_(num_dex_methods_threshold) + num_dex_methods_threshold_(num_dex_methods_threshold), + generate_gdb_information_(generate_gdb_information) #ifdef ART_SEA_IR_MODE , sea_ir_mode_(sea_ir_mode) #endif @@ -118,6 +121,10 @@ class CompilerOptions { bool GetSeaIrMode(); #endif + bool GetGenerateGDBInformation() const { + return generate_gdb_information_; + } + private: CompilerFilter compiler_filter_; size_t huge_method_threshold_; @@ -125,6 +132,7 @@ class CompilerOptions { size_t small_method_threshold_; size_t tiny_method_threshold_; size_t num_dex_methods_threshold_; + bool generate_gdb_information_; #ifdef ART_SEA_IR_MODE bool sea_ir_mode_; |