GNU addr2line exits immediately if -e (default to a.out) specifies a file that
cannot be open or a directory. llvm-addr2line used to wait for input on if the
input file cannot be open and addresses are not specified in command line.
Replace the D147652 checkFileExists with getOrCreateModuleInfo to avoid
a separate sys::fs::status operation.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Looks good, but I'm wondering if it would be just better for @sepavloff to integrate this change into their original patch, as that patch has a fair amount of useful discussion on it.
Regardless, I'd like @sepavloff to sign off on this.
llvm/tools/llvm-symbolizer/llvm-symbolizer.cpp | ||
---|---|---|
482 |
Comment Actions
The patch requires rebase because D147652 has committed, but the logic is clear and seems correct.
LGTM.
Comment Actions
Hi, on AIX we're getting the error: "The file was not recognized as a valid object file instead of the expected error"
Could you take a look please?