summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-08-25 20:23:38 +0000
committerDan Gohman <gohman@apple.com>2010-08-25 20:23:38 +0000
commit9b9ff467db8f54adf82cfccc2ac01a616d95df89 (patch)
tree6a60abb60ed57449682b6213cbdd18b16f84d6b6 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent26d837d08653a1c93811b4609422b75d7ddd98aa (diff)
downloadbcm5719-llvm-9b9ff467db8f54adf82cfccc2ac01a616d95df89.tar.gz
bcm5719-llvm-9b9ff467db8f54adf82cfccc2ac01a616d95df89.zip
Add a FIXME comment.
llvm-svn: 112083
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
-rw-r--r--llvm/lib/Bitcode/Reader/BitcodeReader.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
index 0d961c3ab91..fd7fe90f3fa 100644
--- a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
+++ b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
@@ -2333,6 +2333,9 @@ bool BitcodeReader::ParseFunctionBody(Function *F) {
}
}
+ // FIXME: Check for unresolved forward-declared metadata references
+ // and clean up leaks.
+
// See if anything took the address of blocks in this function. If so,
// resolve them now.
DenseMap<Function*, std::vector<BlockAddrRefTy> >::iterator BAFRI =
OpenPOWER on IntegriCloud