[llvm-bugs] [Bug 43068] New: Sanitizer runtime can't find versioned llvm-symbolizer filename

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Aug 20 14:18:41 PDT 2019


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

            Bug ID: 43068
           Summary: Sanitizer runtime can't find versioned llvm-symbolizer
                    filename
           Product: compiler-rt
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: asan
          Assignee: kcc at google.com
          Reporter: zturner at google.com
                CC: llvm-bugs at lists.llvm.org

If you do `apt-get install llvm-7` from Ubuntu and then run an ASAN
instrumented build and force an ASAN violation, you'll get an unsymbolized
callstack.

The reason is that ASAN appears to search for `llvm-symbolizer` in system PATH,
but it's not smart enough to look for `llvm-symbolizer-N` for some version
number N.

I think the logic should be improved so that it should check in PATH as well as
in <llvm-lib-dir>/../bin

-- 
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/20190820/cc9766c1/attachment.html>


More information about the llvm-bugs mailing list