diff options
author | Matthew Simpson <mssimpso@codeaurora.org> | 2017-10-16 22:22:11 +0000 |
---|---|---|
committer | Matthew Simpson <mssimpso@codeaurora.org> | 2017-10-16 22:22:11 +0000 |
commit | 9f219e8d892284417fa5c1f64b69a36b8602a06f (patch) | |
tree | 55dee695af90cf26054703d47325291b2f31d035 /lib/IR/LLVMContext.cpp | |
parent | 983f9af008ef293025c0e0198f0726ee64ffc793 (diff) |
Add !callees metadata
This patch adds a new kind of metadata that indicates the possible callees of
indirect calls.
Differential Revision: https://reviews.llvm.org/D37354
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@315944 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/IR/LLVMContext.cpp')
-rw-r--r-- | lib/IR/LLVMContext.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/IR/LLVMContext.cpp b/lib/IR/LLVMContext.cpp index 455ffb5ea62..a94da5452b8 100644 --- a/lib/IR/LLVMContext.cpp +++ b/lib/IR/LLVMContext.cpp @@ -59,6 +59,7 @@ LLVMContext::LLVMContext() : pImpl(new LLVMContextImpl(*this)) { {MD_section_prefix, "section_prefix"}, {MD_absolute_symbol, "absolute_symbol"}, {MD_associated, "associated"}, + {MD_callees, "callees"}, }; for (auto &MDKind : MDKinds) { |