[llvm-dev] Microsoft SourceLink equivalent for LLVM/Clang

Jordan Frost via llvm-dev llvm-dev at lists.llvm.org
Tue Oct 23 23:54:15 PDT 2018


I made an interesting discovery today, SourceLink [
https://docs.microsoft.com/en-us/cpp/build/reference/sourcelink?view=vs-2017
]

It would appear it is information describing where to fetch the source code
for a particular built object file or image.

My research indicates no search format exists for DWARF and/or neither
Clang nor GCC emit this sort of information.

Are there DWARF gods here who would like to introduce this in DWARF?

As an aside could Clang be taught such a trick for Windows in its PDB
generation process? I've not been tracking the PDB progress closely
recently but having this parity with PDBs generated by MSVC would be nifty.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20181023/92ee9116/attachment.html>


More information about the llvm-dev mailing list