diff options
Diffstat (limited to 'lib/VMCore/Metadata.cpp')
-rw-r--r-- | lib/VMCore/Metadata.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/VMCore/Metadata.cpp b/lib/VMCore/Metadata.cpp index 2c80a60a8c..8ae584e920 100644 --- a/lib/VMCore/Metadata.cpp +++ b/lib/VMCore/Metadata.cpp @@ -317,6 +317,12 @@ const Metadata::MDMapTy *Metadata::getMDs(const Instruction *Inst) { return &(I->second); } +/// getHandlerNames - Get handler names. This is used by bitcode +/// writer. +const StringMap<unsigned> *Metadata::getHandlerNames() { + return &MDHandlerNames; +} + /// ValueIsDeleted - This handler is used to update metadata store /// when a value is deleted. void Metadata::ValueIsDeleted(const Instruction *Inst) { |