[llvm-bugs] [Bug 36197] New: Missing public symbols in PDB produced by lld

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Feb 1 08:08:47 PST 2018


            Bug ID: 36197
           Summary: Missing public symbols in PDB produced by lld
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: stefan.reinalter at molecular-matters.com
                CC: llvm-bugs at lists.llvm.org

The PDB file produced by lld seems to be missing the stream for public symbols,
i.e. all symbols that have external linkage.
Usually, those symbols are found in the PDB by their decorated/mangled name.

The attached PDB was created using:

clang-cl.exe -c -Z7 -MTd -o main.obj main.cpp
clang-cl.exe -c -Z7 -MTd -o SimpleFunction.obj SimpleFunction.cpp
lld-link.exe /libpath:"C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\lib\amd64" /libpath:"C:\Program Files (x86)\Windows
Kits\10\Lib\10.0.16299.0\ucrt\x64" /libpath:"C:\Program Files (x86)\Windows
Kits\10\Lib\10.0.16299.0\um\x64" -debug main.obj SimpleFunction.obj

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/20180201/86cc7b3d/attachment.html>

More information about the llvm-bugs mailing list