diff options
| author | Serge Pavlov <sepavloff@gmail.com> | 2024-07-05 12:27:58 +0700 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-05 12:27:58 +0700 | 
| commit | 5ce141f7af7ba6a42dac41562fb06160a7863b59 (patch) | |
| tree | 2900864c6fdbc210b034e924285f70ea905c0821 /llvm/tools/llvm-cov/CodeCoverage.cpp | |
| parent | c7ee20433c43e45658031a340e221097a32a469f (diff) | |
| download | llvm-5ce141f7af7ba6a42dac41562fb06160a7863b59.zip llvm-5ce141f7af7ba6a42dac41562fb06160a7863b59.tar.gz llvm-5ce141f7af7ba6a42dac41562fb06160a7863b59.tar.bz2 | |
[symbolizer] Empty string is not an error (#97781)
This is recommit of llvm/llvm-project#92660, reverted in
llvm/llvm-project#94424.
Original commit message is below.
After commit
https://github.com/llvm/llvm-project/commit/1792852f86dc75efa1f44d46b1a0daf386d64afa
([symbolizer] Change reaction on invalid input) llvm-symbolizer issues
an error on malformed command instead of echoing it to the standard
output, as in previous versions. It turns out this behavior broke a use
case when echoing was used to check if llvm-symbolizer is working
(https://github.com/llvm/llvm-project/commit/1792852f86dc75efa1f44d46b1a0daf386d64afa#commitcomment-142161925).
With this change an empty line as input is not considered as an error
anymore and does not produce any output on stderr. llvm-symbolizer still
respond on empty line with line not found, this is consistent with GNU
addr2line.
Diffstat (limited to 'llvm/tools/llvm-cov/CodeCoverage.cpp')
0 files changed, 0 insertions, 0 deletions
