[sanitizer] Support symbolize_inline_frames by addr2line

This commit is contained in:
Vitaly Buka 2021-12-22 21:28:38 -08:00
parent 4316859e6a
commit 9f3aca7eae
1 changed files with 3 additions and 1 deletions

View File

@ -213,7 +213,9 @@ class Addr2LineProcess final : public SymbolizerProcess {
const char *(&argv)[kArgVMax]) const override {
int i = 0;
argv[i++] = path_to_binary;
argv[i++] = "-iCfe";
if (common_flags()->symbolize_inline_frames)
argv[i++] = "-i";
argv[i++] = "-Cfe";
argv[i++] = module_name_;
argv[i++] = nullptr;
}