summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_options.h
diff options
context:
space:
mode:
author David Srbecky <dsrbecky@google.com> 2015-12-23 07:36:26 -0800
committer android-build-merger <android-build-merger@google.com> 2015-12-23 07:36:26 -0800
commit48944c760b196188b968b7af81439466cf987a75 (patch)
tree96eac85b9162bca78bd5be60d51fe62f93b7f3c5 /compiler/driver/compiler_options.h
parent64b3c8c45c130efb4877ace5888fc7907096211a (diff)
parent388c61cc3c9f2d6d7cbcbd594dc90446227bce46 (diff)
Merge "Generate more stack maps during native debugging." am: 875773770a
am: 388c61cc3c * commit '388c61cc3c9f2d6d7cbcbd594dc90446227bce46': Generate more stack maps during native debugging.
Diffstat (limited to 'compiler/driver/compiler_options.h')
-rw-r--r--compiler/driver/compiler_options.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/compiler/driver/compiler_options.h b/compiler/driver/compiler_options.h
index e6acab42f2..2b047a203c 100644
--- a/compiler/driver/compiler_options.h
+++ b/compiler/driver/compiler_options.h
@@ -49,6 +49,7 @@ class CompilerOptions FINAL {
static const size_t kDefaultTinyMethodThreshold = 20;
static const size_t kDefaultNumDexMethodsThreshold = 900;
static constexpr double kDefaultTopKProfileThreshold = 90.0;
+ static const bool kDefaultNativeDebuggable = false;
static const bool kDefaultGenerateDebugInfo = kIsDebugBuild;
static const bool kDefaultIncludePatchInformation = false;
static const size_t kDefaultInlineDepthLimit = 3;
@@ -162,6 +163,10 @@ class CompilerOptions FINAL {
return debuggable_;
}
+ bool GetNativeDebuggable() const {
+ return native_debuggable_;
+ }
+
bool GetGenerateDebugInfo() const {
return generate_debug_info_;
}
@@ -240,6 +245,7 @@ class CompilerOptions FINAL {
// When using a profile file only the top K% of the profiled samples will be compiled.
double top_k_profile_threshold_;
bool debuggable_;
+ bool native_debuggable_;
bool generate_debug_info_;
bool implicit_null_checks_;
bool implicit_so_checks_;