[PATCH] D153219: [symbolizer] Exit early if input file is absent

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 23 10:22:48 PDT 2023


MaskRay added a comment.

> If binary file specified as input with option --obj or -e was absent, [...]

The paragraph can be changed to say that now `llvm-addr2line` exits immediately. This patch extends the behavior to `llvm-symbolizer`.
Consider mentioning the behavior change for `--output-style=JSON` as well.

`llvm-symbolizer --output-style=JSON -e nonexistent`


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D153219/new/

https://reviews.llvm.org/D153219



More information about the llvm-commits mailing list