aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ObjectFile.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2023-06-23 10:04:13 -0700
committerFangrui Song <i@maskray.me>2023-06-23 10:04:13 -0700
commit620bff758d448f04483a80455e14daa91f9c2346 (patch)
treeb557d71856032e9029261606e063d7875f06a649 /llvm/lib/Object/ObjectFile.cpp
parent9a868a902c2d9aec295612132445efd220c52e86 (diff)
downloadllvm-620bff758d448f04483a80455e14daa91f9c2346.zip
llvm-620bff758d448f04483a80455e14daa91f9c2346.tar.gz
llvm-620bff758d448f04483a80455e14daa91f9c2346.tar.bz2
[llvm-addr2line] Replace checkFileExists with getOrCreateModuleInfo
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. Reviewed By: sepavloff Differential Revision: https://reviews.llvm.org/D153595
Diffstat (limited to 'llvm/lib/Object/ObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions