From: Mike Stump Date: Wed, 23 Sep 2009 00:13:30 +0000 (+0000) Subject: This is overly constraining with respect to clang. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=d75e9aad24723cf816d3b3cf658bbd23da144f90;p=oota-llvm.git This is overly constraining with respect to clang. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82591 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index c093acd51b2..33273f17a36 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -662,9 +662,6 @@ void DwarfDebug::AddBlockByrefAddress(DbgVariable *&DV, DIE *Die, std::string typeName; blockStruct.getName(typeName); - assert(typeName.find ("__Block_byref_") == 0 - && "Attempting to get Block location of non-Block variable!"); - // Find the __forwarding field and the variable field in the __Block_byref // struct.