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
This commit is contained in:
Mike Stump 2009-09-23 00:13:30 +00:00
parent 31c6c5d58a
commit d75e9aad24

View File

@ -662,9 +662,6 @@ void DwarfDebug::AddBlockByrefAddress(DbgVariable *&DV, DIE *Die,
std::string typeName; std::string typeName;
blockStruct.getName(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 // Find the __forwarding field and the variable field in the __Block_byref
// struct. // struct.