summaryrefslogtreecommitdiffstats
path: root/llvm/lib/AsmParser/LLParser.h
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2016-05-31 23:01:54 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2016-05-31 23:01:54 +0000
commitcceae7feda8e33194d1a6c5963bd4114bb8d2b36 (patch)
treed7f155b4ea8004651b1aadf412465b0d3950f9e6 /llvm/lib/AsmParser/LLParser.h
parent81fbadb63f4d28f62950e2e2c4967f1429b3ca55 (diff)
downloadbcm5719-llvm-cceae7feda8e33194d1a6c5963bd4114bb8d2b36.tar.gz
bcm5719-llvm-cceae7feda8e33194d1a6c5963bd4114bb8d2b36.zip
Add support for metadata attachments for global variables.
This patch adds an IR, assembly and bitcode representation for metadata attachments for globals. Future patches will port existing features to use these new attachments. Differential Revision: http://reviews.llvm.org/D20074 llvm-svn: 271348
Diffstat (limited to 'llvm/lib/AsmParser/LLParser.h')
-rw-r--r--llvm/lib/AsmParser/LLParser.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/AsmParser/LLParser.h b/llvm/lib/AsmParser/LLParser.h
index cffea25485a..7c32f2c7fac 100644
--- a/llvm/lib/AsmParser/LLParser.h
+++ b/llvm/lib/AsmParser/LLParser.h
@@ -424,6 +424,7 @@ namespace llvm {
bool ParseMDNodeVector(SmallVectorImpl<Metadata *> &MDs);
bool ParseMetadataAttachment(unsigned &Kind, MDNode *&MD);
bool ParseInstructionMetadata(Instruction &Inst);
+ bool ParseGlobalObjectMetadataAttachment(GlobalObject &GO);
bool ParseOptionalFunctionMetadata(Function &F);
template <class FieldTy>
OpenPOWER on IntegriCloud