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: unassignedb...@nondot.org
          Reporter: sylves...@debian.org
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to