[PATCH] D79005: [LLD][COFF] Move debug info for thread-local variables into PDB global stream
Alexandre Ganea via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 28 07:29:24 PDT 2020
aganea created this revision.
aganea added reviewers: rnk, amccarth, MaskRay, mstorsjo.
Herald added subscribers: llvm-commits, aprantl.
Herald added a project: LLVM.
Before this patch, the debug record `S_GTHREAD32` which represents global `thread_local` symbols, was emitted by LLD into the respective module stream. This makes Visual Studio unable to display `thread_local` symbols in the debugger.
After this patch, `S_GTHREAD32` is moved into the globals stream. This matches MSVC behavior.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D79005
Files:
lld/COFF/PDB.cpp
lld/test/COFF/Inputs/pdb-globals.yaml
lld/test/COFF/pdb-globals.test
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79005.260628.patch
Type: text/x-patch
Size: 48003 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200428/15a701b5/attachment.bin>
More information about the llvm-commits
mailing list