[patch] DW_TAG_imported_module support

David Blaikie dblaikie at gmail.com
Wed Mar 27 16:24:06 PDT 2013


Based on our IRC conversation this morning I've worked up the basics
of DW_TAG_imported_module support by using a CU-level list rather than
one list per scope. While this still has a few rough edges
(DIImportedModule should expand to include file/line information as
well to be consistent with GCC, and my Clang changes (not attached
here) don't seem to account for global using directives but they work
for function local ones).

Does this seem about right? Better/worse/indifferent compared to
per-scope lists? (seems better to me, at least)

If so, I'll revert r178099 (which added the extra field to every
DIScope with the intent that that would contain the list of
DIImportedModules for each scope) & continue down this path.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: di.diff
Type: application/octet-stream
Size: 9263 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130327/3e1a2db0/attachment.obj>


More information about the llvm-commits mailing list