[llvm] [BOLT][DWARF][NFC] Add option to specify DW_AT_comp_dir (PR #79395)
Maksim Panchenko via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 24 19:36:22 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."),
----------------
maksfb wrote:
To make this options description more user-friendly, would something like "Specify alternative location to search for *.dwo files" be accurate enought?
https://github.com/llvm/llvm-project/pull/79395
More information about the llvm-commits
mailing list