diff options
author | Jason Molenda <jmolenda@apple.com> | 2011-09-16 01:32:10 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 2011-09-16 01:32:10 +0000 |
commit | 113f2d5289cb6a1a30376da9d320167b22d0fad1 (patch) | |
tree | 2355069a07e992e9ab9ab824714d1879c30ee587 /lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp | |
parent | 3cc78e608ea3050f810821036eba5903a38b9798 (diff) | |
download | bcm5719-llvm-113f2d5289cb6a1a30376da9d320167b22d0fad1.tar.gz bcm5719-llvm-113f2d5289cb6a1a30376da9d320167b22d0fad1.zip |
Tighten up the 'log enable lldb unwind' printing for
the arm emulate instruction unwinder so you can leave it
on by default and not be overwhelmed. Set verbose mode to
get the full story on how the unwindplans were created.
llvm-svn: 139897
Diffstat (limited to 'lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp')
-rw-r--r-- | lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp b/lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp index cbc61c2ce88..77be2511c3e 100644 --- a/lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp +++ b/lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp @@ -104,7 +104,7 @@ UnwindAssemblyInstEmulation::GetNonCallSiteUnwindPlanFromAssembly (AddressRange& if (inst) { - if (log) + if (log && IsLogVerbose ()) { StreamString strm; inst->Dump(&strm, inst_list.GetMaxOpcocdeByteSize (), show_address, show_bytes, &exe_ctx, raw); @@ -130,7 +130,7 @@ UnwindAssemblyInstEmulation::GetNonCallSiteUnwindPlanFromAssembly (AddressRange& } } - if (log) + if (log && IsLogVerbose ()) { StreamString strm; lldb::addr_t base_addr = range.GetBaseAddress().GetLoadAddress(&thread.GetProcess().GetTarget()); @@ -264,7 +264,7 @@ UnwindAssemblyInstEmulation::ReadMemory (EmulateInstruction *instruction, { LogSP log(GetLogIfAllCategoriesSet (LIBLLDB_LOG_UNWIND)); - if (log) + if (log && IsLogVerbose ()) { StreamString strm; strm.Printf ("UnwindAssemblyInstEmulation::ReadMemory (addr = 0x%16.16llx, dst = %p, dst_len = %zu, context = ", @@ -304,7 +304,7 @@ UnwindAssemblyInstEmulation::WriteMemory (EmulateInstruction *instruction, LogSP log(GetLogIfAllCategoriesSet (LIBLLDB_LOG_UNWIND)); - if (log) + if (log && IsLogVerbose ()) { StreamString strm; @@ -407,7 +407,7 @@ UnwindAssemblyInstEmulation::ReadRegister (EmulateInstruction *instruction, LogSP log(GetLogIfAllCategoriesSet (LIBLLDB_LOG_UNWIND)); - if (log) + if (log && IsLogVerbose ()) { StreamString strm; @@ -437,7 +437,7 @@ UnwindAssemblyInstEmulation::WriteRegister (EmulateInstruction *instruction, { LogSP log(GetLogIfAllCategoriesSet (LIBLLDB_LOG_UNWIND)); - if (log) + if (log && IsLogVerbose ()) { StreamString strm; |