diff options
author | David Srbecky <dsrbecky@google.com> | 2015-04-13 20:00:53 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-04-13 20:00:54 +0000 |
commit | 4af290af4e89cfbc3a4e1ada79909ccee353361a (patch) | |
tree | 532d86c2bc0e3693876be225d56250295840db39 | |
parent | daba9dff2ba0160332fe54ab14fc4283b8ea86fb (diff) | |
parent | 7f49e672bc943c49ca8af438ae4bd61b95fe364b (diff) | |
download | art-4af290af4e89cfbc3a4e1ada79909ccee353361a.tar.gz art-4af290af4e89cfbc3a4e1ada79909ccee353361a.tar.bz2 art-4af290af4e89cfbc3a4e1ada79909ccee353361a.zip |
Merge "Remove the --gen-gdb-info compiler option."
-rw-r--r-- | compiler/dex/quick/quick_cfi_test.cc | 1 | ||||
-rw-r--r-- | compiler/driver/compiler_options.cc | 3 | ||||
-rw-r--r-- | compiler/driver/compiler_options.h | 6 | ||||
-rw-r--r-- | compiler/jit/jit_compiler.cc | 1 | ||||
-rw-r--r-- | dex2oat/dex2oat.cc | 9 |
5 files changed, 0 insertions, 20 deletions
diff --git a/compiler/dex/quick/quick_cfi_test.cc b/compiler/dex/quick/quick_cfi_test.cc index 2e62166b7..6928acbc8 100644 --- a/compiler/dex/quick/quick_cfi_test.cc +++ b/compiler/dex/quick/quick_cfi_test.cc @@ -56,7 +56,6 @@ class QuickCFITest : public CFITest { CompilerOptions::kDefaultSmallMethodThreshold, CompilerOptions::kDefaultTinyMethodThreshold, CompilerOptions::kDefaultNumDexMethodsThreshold, - true, // generate_gdb_information. false, CompilerOptions::kDefaultTopKProfileThreshold, false, diff --git a/compiler/driver/compiler_options.cc b/compiler/driver/compiler_options.cc index fc00c926b..de1f95885 100644 --- a/compiler/driver/compiler_options.cc +++ b/compiler/driver/compiler_options.cc @@ -27,7 +27,6 @@ CompilerOptions::CompilerOptions() small_method_threshold_(kDefaultSmallMethodThreshold), tiny_method_threshold_(kDefaultTinyMethodThreshold), num_dex_methods_threshold_(kDefaultNumDexMethodsThreshold), - generate_gdb_information_(false), include_patch_information_(kDefaultIncludePatchInformation), top_k_profile_threshold_(kDefaultTopKProfileThreshold), debuggable_(false), @@ -53,7 +52,6 @@ CompilerOptions::CompilerOptions(CompilerFilter compiler_filter, size_t small_method_threshold, size_t tiny_method_threshold, size_t num_dex_methods_threshold, - bool generate_gdb_information, bool include_patch_information, double top_k_profile_threshold, bool debuggable, @@ -73,7 +71,6 @@ CompilerOptions::CompilerOptions(CompilerFilter compiler_filter, small_method_threshold_(small_method_threshold), tiny_method_threshold_(tiny_method_threshold), num_dex_methods_threshold_(num_dex_methods_threshold), - generate_gdb_information_(generate_gdb_information), include_patch_information_(include_patch_information), top_k_profile_threshold_(top_k_profile_threshold), debuggable_(debuggable), diff --git a/compiler/driver/compiler_options.h b/compiler/driver/compiler_options.h index f7ea385e1..aa0db5d87 100644 --- a/compiler/driver/compiler_options.h +++ b/compiler/driver/compiler_options.h @@ -61,7 +61,6 @@ class CompilerOptions FINAL { size_t small_method_threshold, size_t tiny_method_threshold, size_t num_dex_methods_threshold, - bool generate_gdb_information, bool include_patch_information, double top_k_profile_threshold, bool debuggable, @@ -162,10 +161,6 @@ class CompilerOptions FINAL { return implicit_suspend_checks_; } - bool GetGenerateGDBInformation() const { - return generate_gdb_information_; - } - bool GetIncludePatchInformation() const { return include_patch_information_; } @@ -207,7 +202,6 @@ class CompilerOptions FINAL { const size_t small_method_threshold_; const size_t tiny_method_threshold_; const size_t num_dex_methods_threshold_; - const bool generate_gdb_information_; 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_; diff --git a/compiler/jit/jit_compiler.cc b/compiler/jit/jit_compiler.cc index df5d5cca3..cef9db2ee 100644 --- a/compiler/jit/jit_compiler.cc +++ b/compiler/jit/jit_compiler.cc @@ -71,7 +71,6 @@ JitCompiler::JitCompiler() : total_time_(0) { CompilerOptions::kDefaultTinyMethodThreshold, CompilerOptions::kDefaultNumDexMethodsThreshold, false, - false, CompilerOptions::kDefaultTopKProfileThreshold, false, // TODO: Think about debuggability of JIT-compiled code. false, diff --git a/dex2oat/dex2oat.cc b/dex2oat/dex2oat.cc index 6af6f187d..143dacdf6 100644 --- a/dex2oat/dex2oat.cc +++ b/dex2oat/dex2oat.cc @@ -497,7 +497,6 @@ class Dex2Oat FINAL { bool include_patch_information = CompilerOptions::kDefaultIncludePatchInformation; bool include_debug_symbols = kIsDebugBuild; bool watch_dog_enabled = true; - bool generate_gdb_information = kIsDebugBuild; bool abort_on_hard_verifier_error = false; bool requested_specific_compiler = false; @@ -541,12 +540,6 @@ class Dex2Oat FINAL { watch_dog_enabled = true; } else if (option == "--no-watch-dog") { watch_dog_enabled = false; - } else if (option == "--gen-gdb-info") { - generate_gdb_information = true; - // Debug symbols are needed for gdb information. - include_debug_symbols = true; - } else if (option == "--no-gen-gdb-info") { - generate_gdb_information = false; } else if (option.starts_with("-j")) { const char* thread_count_str = option.substr(strlen("-j")).data(); if (!ParseUint(thread_count_str, &thread_count_)) { @@ -684,7 +677,6 @@ class Dex2Oat FINAL { include_debug_symbols = true; } else if (option == "--no-include-debug-symbols" || option == "--strip-symbols") { include_debug_symbols = false; - generate_gdb_information = false; // Depends on debug symbols, see above. } else if (option == "--debuggable") { debuggable = true; } else if (option.starts_with("--profile-file=")) { @@ -936,7 +928,6 @@ class Dex2Oat FINAL { small_method_threshold, tiny_method_threshold, num_dex_methods_threshold, - generate_gdb_information, include_patch_information, top_k_profile_threshold, debuggable, |