[llvm-bugs] [Bug 42754] New: llvm-addr2line does not exit when passed a non-existent file
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Jul 25 06:41:09 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=42754
Bug ID: 42754
Summary: llvm-addr2line does not exit when passed a
non-existent file
Product: tools
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: llvm-symbolizer
Assignee: unassignedbugs at nondot.org
Reporter: arichardson.kde at gmail.com
CC: llvm-bugs at lists.llvm.org
GNU addr2line and FreeBSD addr2line exit immediately when passed an invalid
file with -e:
$ addr2line -fi -e /bad/file
addr2line: /bad/file: No such file or directory
However, llvm-addr2line does not exit and waits for input on stdin.
This causes compiler-rt/test/asan/TestCases/Posix/asan-symbolize-bad-path.cc to
block forever if -DLLVM_INSTALL_BINUTILS_SYMLINKS=ON is enabled.
In that case the addr2line found in the path will be llvm-addr2line and then
the test waits forever.
I wonder if we want to change llvm-addr2line (and possibly also
llvm-symbolizer) to behave in the same way as GNU?
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190725/c8504a13/attachment.html>
More information about the llvm-bugs
mailing list