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

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

Reply via email to