[llvm-bugs] [Bug 39514] New: Relax the llvm-symbolizer detection

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Nov 1 06:07:40 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=39514

            Bug ID: 39514
           Summary: Relax the llvm-symbolizer detection
           Product: compiler-rt
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: asan
          Assignee: unassignedbugs at nondot.org
          Reporter: sylvestre at debian.org
                CC: llvm-bugs at lists.llvm.org

With
$ ASAN_OPTIONS=verbosity=1:external_symbolizer_path=/usr/bin/llvm-symbolizer-7
./a.out 
I am getting
==32689==ERROR: External symbolizer path is set to '/usr/bin/llvm-symbolizer-7'
which isn't a known symbolizer. Please set the path to the llvm-symbolizer
binary or other known tool.

We should only look that the path contains llvm-symbolizer, not only end with
it.

ASAN_OPTIONS=verbosity=1:external_symbolizer_path=/usr/lib/llvm-7/bin/llvm-symbolizer
./a.out
fixes the issue on Debian & Ubuntu.

-- 
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/20181101/6086efbe/attachment-0001.html>


More information about the llvm-bugs mailing list