[Lldb-commits] [PATCH] D12380: Comment out DWARFCompileUnit printf spam

Stephane Sezer via lldb-commits lldb-commits at lists.llvm.org
Wed Aug 26 14:43:59 PDT 2015


sas added a subscriber: sas.

================
Comment at: source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp:445
@@ -444,3 +444,3 @@
                         debug_aranges->AppendRange(cu_offset, range.GetRangeBase(), range.GetRangeEnd());
-                        printf ("0x%8.8x: [0x%16.16" PRIx64 " - 0x%16.16" PRIx64 ")\n", GetOffset(), range.GetRangeBase(), range.GetRangeEnd());
+                        // printf ("0x%8.8x: [0x%16.16" PRIx64 " - 0x%16.16" PRIx64 ")\n", GetOffset(), range.GetRangeBase(), range.GetRangeEnd());
                     }
----------------
sivachandra wrote:
> I do not know the policy around such debug print statements; I would just remove it.
Yeah removing (or redirecting to an actual log channel maybe?) might be a better fix than commenting out.


http://reviews.llvm.org/D12380





More information about the lldb-commits mailing list