Open
Description
As far as I can tell from the code, currently libbacktrace-based symbolizer always has a priority over external ones:
// sanitizer_symbolizer_posix_libcdep.cpp
if (SymbolizerTool *tool = LibbacktraceSymbolizer::get(allocator)) {
VReport(2, "Using libbacktrace symbolizer.\n");
list->push_back(tool);
return;
}
if (SymbolizerTool *tool = ChooseExternalSymbolizer(allocator)) {
list->push_back(tool);
}
However, in some cases addr2line is able to symbolize the addresses libbacktrace is unable to. It would be useful to have an option to force addr2line usage even if libbacktrace is available.