Support /NATVIS option in lld |
||||||
Issue descriptionhttps://cs.chromium.org/chromium/src/tools/win/DebugVisualizers/BUILD.gn /NATVIS options is used now. Better to support /NATVIS in lld?
,
May 24 2017
That option is new to me. What are you using the flag for?
,
May 24 2017
It can tell the debugger to load certain debug visualizers: https://cs.chromium.org/search/?q=file:%5C.natvis+package:%5Echromium$&type=cs and https://blogs.msdn.microsoft.com/vcblog/2015/09/28/debug-visualizers-in-visual-c-2015/ The flag isn't documented for link.exe, but it probably puts a reference to the file mentioned in /natvis:foo.natvis somewhere (either in the pdb or the executable).
,
Jun 20 2017
I guess that the .natvis file depends on the internal representation of the MSVC toolchain and it is hard to emit compatible files from LLD.
,
Mar 8 2018
,
Mar 10 2018
In progress here: https://reviews.llvm.org/D44328
,
Mar 20 2018
zturner, is this done?
,
Mar 20 2018
We need to remove the !use_lld checks in the natvis gn file too (and check that it works) ifsomeone wants to make a cl for that.
,
Mar 20 2018
Hopefully it's done now (as of r328002). Have to wait and see if it sticks, I had to revert it once.
,
Mar 20 2018
,
Mar 24 2018
Let's keep this open until the fix is rolled in and we've then updated chrome's build files to pass the option in lld builds as well. (See also "blocked on")
,
Mar 28 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/d87bfe70381a444b37edfce46bd7aca0077756ec commit d87bfe70381a444b37edfce46bd7aca0077756ec Author: Hans Wennborg <hans@chromium.org> Date: Wed Mar 28 14:02:23 2018 Use /NATVIS when linking with lld too Support for this was added to lld in r328363, which rolled into Chromium in #546080. Bug: 725748 Change-Id: I65f64295a682a09faca8b4b74ee70dc16ad9ef66 Reviewed-on: https://chromium-review.googlesource.com/983594 Reviewed-by: Nico Weber <thakis@chromium.org> Commit-Queue: Hans Wennborg <hans@chromium.org> Cr-Commit-Position: refs/heads/master@{#546474} [modify] https://crrev.com/d87bfe70381a444b37edfce46bd7aca0077756ec/tools/win/DebugVisualizers/BUILD.gn
,
Mar 28 2018
zturner++; now dangerously close to overflow |
||||||
►
Sign in to add a comment |
||||||
Comment 1 by bugdroid1@chromium.org
, May 24 2017