diff options
author | 2015-12-09 14:09:59 +0000 | |
---|---|---|
committer | 2015-12-23 13:19:16 +0000 | |
commit | 0cf4493166ff28518c8eafa2d0463f6e817cce75 (patch) | |
tree | 6d207db3fb655bbd692f2b01fa963c603619bd0e /compiler/optimizing/dead_code_elimination.cc | |
parent | d674bf7ba2a209790cea8ef8d935480ef515c9e1 (diff) |
Generate more stack maps during native debugging.
Generate extra stack map at the start of each java statement.
The stack maps are later translated to DWARF which allows
LLDB to set breakpoints and view local variables.
Change-Id: If00ab875513308e4a1399d1e12e0fe8934a6f0c3
Diffstat (limited to 'compiler/optimizing/dead_code_elimination.cc')
-rw-r--r-- | compiler/optimizing/dead_code_elimination.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/optimizing/dead_code_elimination.cc b/compiler/optimizing/dead_code_elimination.cc index 02e5dab3d4..67ff87a759 100644 --- a/compiler/optimizing/dead_code_elimination.cc +++ b/compiler/optimizing/dead_code_elimination.cc @@ -165,6 +165,7 @@ void HDeadCodeElimination::RemoveDeadInstructions() { if (!inst->HasSideEffects() && !inst->CanThrow() && !inst->IsSuspendCheck() + && !inst->IsNativeDebugInfo() // If we added an explicit barrier then we should keep it. && !inst->IsMemoryBarrier() && !inst->IsParameterValue() |