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:
parent
90e73a6915
commit
f0863ee08c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user