summaryrefslogtreecommitdiffstats
path: root/dex2oat
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2015-05-04 08:33:31 -0700
committerAndreas Gampe <agampe@google.com>2015-05-04 08:33:31 -0700
commit8484d23186c229e2927441f85ae819abb4996072 (patch)
tree3776395d3d1108166e28dc58c764519041dc0fa1 /dex2oat
parent6f1be4493a558e8dabdc981b37852a2008f7bef1 (diff)
downloadart-8484d23186c229e2927441f85ae819abb4996072.tar.gz
art-8484d23186c229e2927441f85ae819abb4996072.tar.bz2
art-8484d23186c229e2927441f85ae819abb4996072.zip
ART: Emit debug info when app is debuggable
Emit debug symbols and CFI when dex2oat is compiling with the --debuggable flag. Bug: 17011129 Change-Id: I0afab1e46abd819eded2b823580e766619497393
Diffstat (limited to 'dex2oat')
-rw-r--r--dex2oat/dex2oat.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/dex2oat/dex2oat.cc b/dex2oat/dex2oat.cc
index 8490afbee3..b4a45c654d 100644
--- a/dex2oat/dex2oat.cc
+++ b/dex2oat/dex2oat.cc
@@ -691,6 +691,8 @@ class Dex2Oat FINAL {
include_cfi = false;
} else if (option == "--debuggable") {
debuggable = true;
+ include_debug_symbols = true;
+ include_cfi = true;
} else if (option.starts_with("--profile-file=")) {
profile_file_ = option.substr(strlen("--profile-file=")).data();
VLOG(compiler) << "dex2oat: profile file is " << profile_file_;