For now, we report nothing if the execution/dwo file is missing, which is confusing.
llvm-dwp -e a.out1 -o y error: No such file or directory
With this patch, it looks like this:
llvm-dwp -e a.out1 -o y error: 'a.out1': No such file or directory
Differential D133549
[llvm-dwp] Report the filename if it cannot be found steven.zhang on Sep 8 2022, 7:34 PM. Authored by
Details For now, we report nothing if the execution/dwo file is missing, which is confusing. llvm-dwp -e a.out1 -o y error: No such file or directory With this patch, it looks like this: llvm-dwp -e a.out1 -o y error: 'a.out1': No such file or directory
Diff Detail
Event TimelineComment Actions Needs test cases (for all 3 code changes - so I'd expect three test cases (maybe in one file, if that's reasonable, doesn't have to be three separate test files necessarily)) Comment Actions @steven.zhang, the test you added seems to be failing on some Windows bots, can you take a look and revert if it will take a while to investigate? https://lab.llvm.org/buildbot/#/builders/216/builds/9680 Comment Actions looks like all 3 linked failures were related to the case of the n in no such file or directory - some platforms use lowercase, some upper.
Comment Actions I have re-commit as suggested. Thank you for pointing out the testing issue for windows. |