From 6fbedd0ed6280381417903729a9e1a51a68acf7a Mon Sep 17 00:00:00 2001 From: Jeremy <51220084+jeremy-rifkin@users.noreply.github.com> Date: Wed, 8 Nov 2023 14:59:53 -0500 Subject: [PATCH] Commend out prints --- src/symbols/symbols_with_libdwarf.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/symbols/symbols_with_libdwarf.cpp b/src/symbols/symbols_with_libdwarf.cpp index 2414c43..e6a3a52 100644 --- a/src/symbols/symbols_with_libdwarf.cpp +++ b/src/symbols/symbols_with_libdwarf.cpp @@ -318,7 +318,7 @@ namespace libdwarf { const auto file = ""; // die.get_string_attribute(DW_AT_call_file); const auto line = die.get_unsigned_attribute(DW_AT_call_line); const auto col = die.get_unsigned_attribute(DW_AT_call_column); - printf(" %s %s:%u:%u\n", name.c_str(), file, (unsigned)line.value_or(0), (unsigned)col.value_or(0)); + // printf(" %s %s:%u:%u\n", name.c_str(), file, (unsigned)line.value_or(0), (unsigned)col.value_or(0)); inlines.push_back(stacktrace_frame{ 0, (unsigned int)line.value_or(0), @@ -342,9 +342,9 @@ namespace libdwarf { std::vector& inlines ) { ASSERT(die.get_tag() == DW_TAG_subprogram); - if(pc) printf("============================\n"); + // if(pc) printf("============================\n"); const auto name = subprogram_symbol(die, pc, dwversion); - if(pc) printf("%s\n", name.c_str()); + // if(pc) printf("%s\n", name.c_str()); get_inlines_info(die, pc, dwversion, inlines); return name; }