[PATCH] D7895: Anonymous namespaces are missing import DW_TAG_imported_module.

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 17 18:16:13 PDT 2015


On Mon, Aug 17, 2015 at 6:12 PM, Paul Robinson via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

> probinson added a comment.
>
> I don't think this should be PS4-special.  I know I was more wishy-washy
> about it before, but really DWARF-the-standard tries to be
> language-neutral.  Emitting an explicit import matches the intent of DWARF,
> and Clang should always do it.
>

I don't quite see how "DWARF the standard tries to be language neutral" and
"DWARF should model the source" are resolved here... the source is an
anonymous namespace, without any using directive. In the same way that
DWARF clients figure out calling conventions (and name lookup rules for
other entities - including complex things like ADL) based on the language,
so would this, I would think.


>
>
> http://reviews.llvm.org/D7895
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150817/38e23084/attachment.html>


More information about the llvm-commits mailing list