Files
clang-p2996/bolt/test
Alexander Yermolovich ce17c6d3ba [BOLT][DWARF] Fix --dwarf-output-path (#71886)
Fixed a bug where when --dwarf-output-path is specified
and DW_AT_dwo_name contains part of the path the output path would
contain both.
Which lead to llvm-bolt crash, because the path didn't exist.
Example:
llvm-bolt .... --dwarf-output-path=/some/path/ 
DW_AT_dwo_name  ("objects/o1/split.dwo")

It would try to write .dwo file to /some/path/objects/o1/split.dwo.dwo
instead of to
/some/path/split.dwo.dwo
2023-11-10 13:18:57 -08:00
..