commit | d5497a4bf84f05ec6c638ba52215413d6f2d3ff2 | [log] [tgz] |
---|---|---|
author | Devang Patel <dpatel@apple.com> | Wed Sep 16 18:09:00 2009 +0000 |
committer | Devang Patel <dpatel@apple.com> | Wed Sep 16 18:09:00 2009 +0000 |
tree | 244b855376d5dced715ffd7ae9052940e29c37d9 | |
parent | ecd879a2d537193bc53f5e05330fbf2d72df1b97 [diff] [blame] |
Add llvm::Metadata to manage metadata used in a context. This interface will be used to attach metadata with an instruction. llvm-svn: 82060
diff --git a/llvm/lib/VMCore/LLVMContext.cpp b/llvm/lib/VMCore/LLVMContext.cpp index 7d233d9..03f0436 100644 --- a/llvm/lib/VMCore/LLVMContext.cpp +++ b/llvm/lib/VMCore/LLVMContext.cpp
@@ -70,3 +70,7 @@ } return Changed; } + +Metadata &LLVMContext::getMetadata() { + return pImpl->TheMetadata; +}