diff options
author | Devang Patel <dpatel@apple.com> | 2009-09-18 19:26:43 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-09-18 19:26:43 +0000 |
commit | e8e0213cc3daa2d0457c22e4c12e6973f21fc942 (patch) | |
tree | 011f5819548ed35e3c31b6abe45e271bf0eb1147 /lib/Bitcode/Reader/BitcodeReader.h | |
parent | 88d9839d07a6b5a03484d664913de0f2b33d3bff (diff) |
Write and read metadata attachments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82259 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Reader/BitcodeReader.h')
-rw-r--r-- | lib/Bitcode/Reader/BitcodeReader.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Bitcode/Reader/BitcodeReader.h b/lib/Bitcode/Reader/BitcodeReader.h index a7853abbc9..eefc7bdc28 100644 --- a/lib/Bitcode/Reader/BitcodeReader.h +++ b/lib/Bitcode/Reader/BitcodeReader.h @@ -132,6 +132,8 @@ class BitcodeReader : public ModuleProvider { std::vector<PATypeHolder> TypeList; BitcodeReaderValueList ValueList; BitcodeReaderMDValueList MDValueList; + SmallVector<Instruction *, 64> InstructionList; + std::vector<std::pair<GlobalVariable*, unsigned> > GlobalInits; std::vector<std::pair<GlobalAlias*, unsigned> > AliasInits; @@ -250,6 +252,7 @@ private: bool ParseFunctionBody(Function *F); bool ResolveGlobalAndAliasInits(); bool ParseMetadata(); + bool ParseMetadataAttachment(); }; } // End llvm namespace |