summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_options.h
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2015-03-02 14:07:33 -0800
committerAndreas Gampe <agampe@google.com>2015-03-04 12:19:44 -0800
commit7b2f09eb6b5c74ffc38bd70f0aa74b8f8112e394 (patch)
treebe2f01bfa3e326ea10ee3a670cca8e41a5abaa6d /compiler/driver/compiler_options.h
parentdc47e986941b1a3754447fabea272485f3f0f382 (diff)
ART: Add debuggable compiler flag
Add a flag to compiler options that shows debuggability. Change-Id: Id17ec72babe2ee88713a0d274eff86508de30666
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 122ae4b575..8ae2edf3b5 100644
--- a/compiler/driver/compiler_options.h
+++ b/compiler/driver/compiler_options.h
@@ -66,6 +66,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,
@@ -132,6 +133,10 @@ class CompilerOptions FINAL {
return top_k_profile_threshold_;
}
+ bool GetDebuggable() const {
+ return debuggable_;
+ }
+
bool GetIncludeDebugSymbols() const {
return include_debug_symbols_;
}
@@ -193,6 +198,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_;