diff options
author | Victor Hernandez <vhernandez@apple.com> | 2010-01-13 19:34:08 +0000 |
---|---|---|
committer | Victor Hernandez <vhernandez@apple.com> | 2010-01-13 19:34:08 +0000 |
commit | 108d3acb434abdf21ca8c492c62157936d42c5b5 (patch) | |
tree | 56ceac4b935d9b8b4770862ecfcc68e9008ac53a /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 643b817d922021b172ff9f87c11c7522130ba1ad (diff) | |
download | bcm5719-llvm-108d3acb434abdf21ca8c492c62157936d42c5b5.tar.gz bcm5719-llvm-108d3acb434abdf21ca8c492c62157936d42c5b5.zip |
Parse function-local metadata inside function blocks
llvm-svn: 93337
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
-rw-r--r-- | llvm/lib/Bitcode/Reader/BitcodeReader.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp index ea446d45b3c..aabbc90c8be 100644 --- a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp +++ b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp @@ -1657,6 +1657,9 @@ bool BitcodeReader::ParseFunctionBody(Function *F) { case bitc::METADATA_ATTACHMENT_ID: if (ParseMetadataAttachment()) return true; break; + case bitc::METADATA_BLOCK_ID: + if (ParseMetadata()) return true; + break; } continue; } |