Open lltsdyp opened 1 month ago
Do you really have "lib~" directory? Try to pass "$HOME/bin/bolt/lib\~/bolt-lib/libbolt_rt_instr.a" (with \~)
Do you really have "lib~" directory? Try to pass "$HOME/bin/bolt/lib~/bolt-lib/libbolt_rt_instr.a" (with ~)
Well, I think this option handles a full path in a wrong way: it simply append the value to a specific path. So I opened a pull request to help the option handle full paths correctly. And here is my PR https://github.com/llvm/llvm-project/issues/99772
Oops, I paste a wrong URL. I apologize (lol) https://github.com/llvm/llvm-project/pull/99806
As you can see, I want
llvm-bolt
to use instrumentation library:$HOME/bin/bolt/lib~/bolt-lib/libbolt_rt_instr.a
but it searched for/home/lib~/bolt-lib/$HOME/bin/bolt/lib~/bolt-lib/libbolt_rt_instr.a
and failed.I think there must be something wrong when processing command line options?