Try using dwarf_set_de_alloc_flag(0) to improve performance and memory usage
This commit is contained in:
parent
d18d6ee77d
commit
bc0164224e
@ -166,6 +166,7 @@ namespace libdwarf {
|
|||||||
if(use_buffer) {
|
if(use_buffer) {
|
||||||
buffer = std::unique_ptr<char[]>(new char[CPPTRACE_MAX_PATH]);
|
buffer = std::unique_ptr<char[]>(new char[CPPTRACE_MAX_PATH]);
|
||||||
}
|
}
|
||||||
|
dwarf_set_de_alloc_flag(0);
|
||||||
auto ret = wrap(
|
auto ret = wrap(
|
||||||
dwarf_init_path_a,
|
dwarf_init_path_a,
|
||||||
object_path.c_str(),
|
object_path.c_str(),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user