summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_options.h
diff options
context:
space:
mode:
author David Srbecky <dsrbecky@google.com> 2015-12-23 07:34:41 -0800
committer android-build-merger <android-build-merger@google.com> 2015-12-23 07:34:41 -0800
commit388c61cc3c9f2d6d7cbcbd594dc90446227bce46 (patch)
tree6d207db3fb655bbd692f2b01fa963c603619bd0e /compiler/driver/compiler_options.h
parentcebb1d3b9cf2e7f99377dd41d379597475f54df4 (diff)
parent875773770ae34c623153aac3941828a9e3831f14 (diff)
Merge "Generate more stack maps during native debugging."
am: 875773770a * commit '875773770ae34c623153aac3941828a9e3831f14': 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_;