[all-commits] [llvm/llvm-project] 3d039f: [compiler-rt] PR#39514 Support versioned llvm-symb...
Andrzej Hunt via All-commits
all-commits at lists.llvm.org
Thu Mar 11 18:29:41 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3d039f65015f0e7878b77c542a89493dcdd755d0
https://github.com/llvm/llvm-project/commit/3d039f65015f0e7878b77c542a89493dcdd755d0
Author: Andrzej Hunt <ajrhunt at google.com>
Date: 2021-03-11 (Thu, 11 Mar 2021)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_posix_libcdep.cpp
Log Message:
-----------
[compiler-rt] PR#39514 Support versioned llvm-symbolizer binaries
Some linux distributions produce versioned llvm-symbolizer binaries,
e.g. my llvm-11 installation puts the symbolizer binary at
/usr/bin/llvm-symbolizer-11.0.0 . However if you then try to run
a binary containing ASAN with
ASAN_SYMBOLIZER_PATH=..../llvm-symbolizer-FOO , it will fail on startup
with "isn't a known symbolizer".
Although it is possible to work around this by setting up symlinks,
that's kindof ugly - supporting versioned binaries is a nicer solution.
(There are now multiple stack overflow and blog posts talking about
this exact issue :) .)
Originally added in:
https://reviews.llvm.org/D8285
Reviewed By: eugenis
Differential Revision: https://reviews.llvm.org/D97682
More information about the All-commits
mailing list