[llvm] [BOLT][DWARF][NFC] Add option to specify DW_AT_comp_dir (PR #79395)
Alexander Yermolovich via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 25 11:56:57 PST 2024
================
@@ -366,6 +366,12 @@ static cl::opt<bool> AlwaysConvertToRanges(
cl::desc("This option is for testing purposes only. It forces BOLT to "
"convert low_pc/high_pc to ranges always."),
cl::ReallyHidden, cl::init(false), cl::cat(BoltCategory));
+
+cl::opt<std::string> CompDirOverride(
+ "comp-dir-override",
+ cl::desc("Overrides DW_AT_comp_dir which is used with DW_AT_dwo_name to "
+ "construct a path to *.dwo files."),
----------------
ayermolo wrote:
But it's not full location. It's just the root path to which dwo_name is appended to.
https://github.com/llvm/llvm-project/pull/79395
More information about the llvm-commits
mailing list