[llvm-bugs] [Bug 43782] New: Cannot profile clang-executables with instrumentation in Visual Studio

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Oct 24 02:08:53 PDT 2019


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

            Bug ID: 43782
           Summary: Cannot profile clang-executables with instrumentation
                    in Visual Studio
           Product: clang
           Version: 9.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Tooling
          Assignee: unassignedclangbugs at nondot.org
          Reporter: llvm at hofst.com
                CC: llvm-bugs at lists.llvm.org

If you try to profile an executable that was compiled with native clang on
Windows (even if it is linked with the MSVC linker) and you try to profile it
with instrumentation it will fail.
The error message indicates that the binary is not recognized.
It is really hard to research this problem but from what I found out, I believe
some pdb symbols are either wrong or incomplete.

This is basically a deal-breaker for choosing clang as an MSVC drop-in
replacement (although I would very much like to do so).

-- 
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/20191024/2c357563/attachment.html>


More information about the llvm-bugs mailing list