[llvm-dev] [DIBuilder][DebugInfo] Parameter visible in "Locals" but not in "Watch" under msvc

Zachary Turner via llvm-dev llvm-dev at lists.llvm.org
Sat Feb 9 03:46:06 PST 2019

Ahh I think you’re right, my mistake.

One idea would be to make the simplest possible function that can reproduce
the problem, then use llvm-pdbutil to dump the symbols that you produce for
the jitted code, and compare it to the symbols that clang-cl and lld
produce when you compile it statically. See if you can see any obvious
differences in the resulting codeview records
On Sat, Feb 9, 2019 at 1:38 AM Vivien Millet <vivien.millet at gmail.com>

> I might be wrong but according to 'symbolGoesInGlobalsStream' function in
> LLD code, S_LOCAL symbols don't go to global stream right ?
> Or did you mean something else ?
> Le sam. 9 févr. 2019 à 05:54, Zachary Turner <zturner at google.com> a
> écrit :
>> Probably its information is incorrect in the PDB globals stream
>> On Thu, Feb 7, 2019 at 4:42 PM Vivien Millet via llvm-dev <
>> llvm-dev at lists.llvm.org> wrote:
>>> Hi,
>>> What could be wrong or missing in the debug info (using DIBuilder) so
>>> that a parameter is displayed well in the "Locals" window but "not found"
>>> when typing it in the "Watch" window (and not displayed in the Auto) ?
>>> Thanks !
>>> _______________________________________________
>>> LLVM Developers mailing list
>>> llvm-dev at lists.llvm.org
>>> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190209/40d1770a/attachment.html>

More information about the llvm-dev mailing list