[llvm-commits] [llvm] r111861 - /llvm/trunk/lib/Analysis/DebugInfo.cpp

Devang Patel dpatel at apple.com
Mon Aug 23 16:16:25 PDT 2010


Author: dpatel
Date: Mon Aug 23 18:16:25 2010
New Revision: 111861

URL: http://llvm.org/viewvc/llvm-project?rev=111861&view=rev
Log:
Let FE use derived types for DW_TAG_friend.
Patch by Alexander Herz!

Modified:
    llvm/trunk/lib/Analysis/DebugInfo.cpp

Modified: llvm/trunk/lib/Analysis/DebugInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/DebugInfo.cpp?rev=111861&r1=111860&r2=111861&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/DebugInfo.cpp (original)
+++ llvm/trunk/lib/Analysis/DebugInfo.cpp Mon Aug 23 18:16:25 2010
@@ -135,6 +135,7 @@
   case dwarf::DW_TAG_restrict_type:
   case dwarf::DW_TAG_member:
   case dwarf::DW_TAG_inheritance:
+  case dwarf::DW_TAG_friend:
     return true;
   default:
     // CompositeTypes are currently modelled as DerivedTypes.





More information about the llvm-commits mailing list