jingham added a comment.

This patch is actually pretty broad, since it will make all C++ declarations 
coming from DWARF have overridden names so far as clang is concerned.  So we 
are relying on the fact that as far as clang is concerned a method with an asm 
assigned name is equivalent to method whose name mangles to the same thing.

From what I can tell scanning through the clang sources, this attribute just 
overrides whatever mangling clang was intending to do for this decl.  There 
shouldn't be any case where we have an incorrect mangled name in the DWARF so 
at first glance that should be okay.

But since this affects all C++ method names that we pass to clang, I'd feel 
better if we could get confirmation from a clang expert that this change has no 
other side-effects.


https://reviews.llvm.org/D40283



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to