Try using dwarf_set_de_alloc_flag(0) to improve performance and memory usage

This commit is contained in:
Jeremy Rifkin 2025-02-16 17:53:40 -06:00
parent d18d6ee77d
commit bc0164224e
No known key found for this signature in database
GPG Key ID: 19AA8270105E8EB4

View File

@ -166,6 +166,7 @@ namespace libdwarf {
if(use_buffer) {
buffer = std::unique_ptr<char[]>(new char[CPPTRACE_MAX_PATH]);
}
dwarf_set_de_alloc_flag(0);
auto ret = wrap(
dwarf_init_path_a,
object_path.c_str(),