This is overly constraining with respect to clang.
authorMike Stump <mrs@apple.com>
Wed, 23 Sep 2009 00:13:30 +0000 (00:13 +0000)
committerMike Stump <mrs@apple.com>
Wed, 23 Sep 2009 00:13:30 +0000 (00:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82591 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/AsmPrinter/DwarfDebug.cpp

index c093acd51b228537c3574a02fa1fc206afe06599..33273f17a369451c9f839f8806a0df6aec61fd63 100644 (file)
@@ -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.