From 5fdcc3c931b70204fd8c491afa66f57f8428490f Mon Sep 17 00:00:00 2001 From: David Srbecky Date: Tue, 19 Jan 2016 14:33:43 +0000 Subject: Add option to generate compressed backtrace info. Add flag --generate-mini-debug-info which generates LZMA compressed .symtab and .debug_frame, which are sufficient to print java backtraces in libunwind. If enabled, it increases the size of boot.oat by about 3.5%. Change-Id: Ic3c2ef7704c05fa328720c6781ca2a9b8e3935a3 --- compiler/dex/quick/codegen_util.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/dex/quick/codegen_util.cc') diff --git a/compiler/dex/quick/codegen_util.cc b/compiler/dex/quick/codegen_util.cc index d68835a9cf..af6f91f21d 100644 --- a/compiler/dex/quick/codegen_util.cc +++ b/compiler/dex/quick/codegen_util.cc @@ -1076,7 +1076,7 @@ Mir2Lir::Mir2Lir(CompilationUnit* cu, MIRGraph* mir_graph, ArenaAllocator* arena pc_rel_temp_(nullptr), dex_cache_arrays_min_offset_(std::numeric_limits::max()), cfi_(&last_lir_insn_, - cu->compiler_driver->GetCompilerOptions().GetGenerateDebugInfo(), + cu->compiler_driver->GetCompilerOptions().GenerateAnyDebugInfo(), arena), in_to_reg_storage_mapping_(arena) { switch_tables_.reserve(4); -- cgit v1.2.3-59-g8ed1b