1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

Do not read free'd memory when printing an error message.

llvm-svn: 20295
This commit is contained in:
Chris Lattner 2005-02-24 04:59:49 +00:00
parent 90e73a6915
commit f0863ee08c

View File

@ -156,7 +156,7 @@ static struct PerFunctionInfo {
// Any forward referenced blocks left?
if (!BBForwardRefs.empty())
ThrowException("Undefined reference to label " +
BBForwardRefs.begin()->second.first.getName());
BBForwardRefs.begin()->first->getName());
// Resolve all forward references now.
ResolveDefinitions(LateResolveValues, &CurModule.LateResolveValues);