summaryrefslogtreecommitdiff
path: root/include/llvm/Module.h
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2010-06-16 00:53:55 +0000
committerDevang Patel <dpatel@apple.com>2010-06-16 00:53:55 +0000
commit2f7d5291de87bfa195884e84dc0efe9705c2215c (patch)
tree08cfc02c5cca206415b6ddac7a87431a8341f533 /include/llvm/Module.h
parent7500e06e3886a13e3017d7af77c35d309e875182 (diff)
downloadllvm-2f7d5291de87bfa195884e84dc0efe9705c2215c.tar.gz
llvm-2f7d5291de87bfa195884e84dc0efe9705c2215c.tar.bz2
llvm-2f7d5291de87bfa195884e84dc0efe9705c2215c.tar.xz
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
Diffstat (limited to 'include/llvm/Module.h')
-rw-r--r--include/llvm/Module.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Module.h b/include/llvm/Module.h
index 901fada3eb..15e0a17e1e 100644
--- a/include/llvm/Module.h
+++ b/include/llvm/Module.h
@@ -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