Use separate named MDNode to hold each function's local variable info.

This speeds up local variable handling in DwarfDebug.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106075 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Devang Patel
2010-06-16 00:53:55 +00:00
parent 7500e06e38
commit 2f7d5291de
4 changed files with 17 additions and 4 deletions

View File

@@ -326,6 +326,7 @@ public:
/// specified name. This method returns null if a NamedMDNode with the
/// specified name is not found.
NamedMDNode *getNamedMetadata(StringRef Name) const;
NamedMDNode *getNamedMetadataUsingTwine(Twine Name) const;
/// getOrInsertNamedMetadata - Return the first named MDNode in the module
/// with the specified name. This method returns a new NamedMDNode if a