Commend out prints
This commit is contained in:
parent
5bf66156cd
commit
6fbedd0ed6
@ -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<stacktrace_frame>& 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;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user