diff options
author | Andreas Gampe <agampe@google.com> | 2015-05-04 08:33:31 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2015-05-04 08:33:31 -0700 |
commit | 8484d23186c229e2927441f85ae819abb4996072 (patch) | |
tree | 3776395d3d1108166e28dc58c764519041dc0fa1 /dex2oat | |
parent | 6f1be4493a558e8dabdc981b37852a2008f7bef1 (diff) | |
download | art-8484d23186c229e2927441f85ae819abb4996072.zip art-8484d23186c229e2927441f85ae819abb4996072.tar.gz art-8484d23186c229e2927441f85ae819abb4996072.tar.bz2 |
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.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dex2oat/dex2oat.cc b/dex2oat/dex2oat.cc index 8490afb..b4a45c6 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_; |