[Lldb-commits] [PATCH] D60817: [NativePDB] Add anonymous namespaces support
Aleksandr Urakov via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Apr 17 05:19:50 PDT 2019
aleksandr.urakov created this revision.
aleksandr.urakov added reviewers: zturner, asmith, labath, stella.stamenova.
aleksandr.urakov added a project: LLDB.
Herald added subscribers: lldb-commits, teemperor, aprantl.
This patch adds anonymous namespaces support to the native PDB plugin.
I had to reference from the main function variables of the types that are inside of the anonymous namespace to include them in debug info. Without the references they are not included. I think it's because they are static, then are visible only in the current translation unit, so they are not needed without any references to them.
There is also the problem case with variables of types that are nested in template structs. For now I've left FIXME in the test because this case is not related to the change.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 6106 bytes
Desc: not available
More information about the lldb-commits