Add support for embedded metadata to LLVM. This introduces two new types of
authorNick Lewycky <nicholas@mxc.ca>
Sat, 4 Apr 2009 07:22:01 +0000 (07:22 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sat, 4 Apr 2009 07:22:01 +0000 (07:22 +0000)
commit21cc4460efa104e8591b05a90f20130291614344
tree6f5a7d6d7f4693fe0b16635fc34ac7c99174331d
parent2cd1b777d7ba88dc4c4c072ec58dca9f96a8b4c2
Add support for embedded metadata to LLVM. This introduces two new types of
Constant, MDString and MDNode which can only be used by globals with a name
that starts with "llvm." or as arguments to a function with the same naming
restriction.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68420 91177308-0d34-0410-b5e6-96231b3b80d8
17 files changed:
docs/LangRef.html
include/llvm/Bitcode/LLVMBitCodes.h
include/llvm/Constants.h
include/llvm/Type.h
include/llvm/Value.h
lib/AsmParser/LLLexer.cpp
lib/AsmParser/LLParser.cpp
lib/AsmParser/LLParser.h
lib/AsmParser/LLToken.h
lib/Bitcode/Reader/BitcodeReader.cpp
lib/Bitcode/Writer/BitcodeWriter.cpp
lib/VMCore/AsmWriter.cpp
lib/VMCore/Constants.cpp
lib/VMCore/Type.cpp
lib/VMCore/Verifier.cpp
test/Feature/embeddedmetadata.ll [new file with mode: 0644]
unittests/VMCore/MetadataTest.cpp [new file with mode: 0644]