summaryrefslogtreecommitdiff
path: root/include/llvm/Bitcode
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-11-28 08:41:48 +0000
committerBill Wendling <isanbard@gmail.com>2012-11-28 08:41:48 +0000
commit3defc0bfa600cc253f0cba0fe781aa49435d968a (patch)
tree518884295520bfcff3a0838d8c53c48d85efe9d4 /include/llvm/Bitcode
parent8b1496c922b6a21296f7d42172df45bf205d5419 (diff)
downloadllvm-3defc0bfa600cc253f0cba0fe781aa49435d968a.tar.gz
llvm-3defc0bfa600cc253f0cba0fe781aa49435d968a.tar.bz2
llvm-3defc0bfa600cc253f0cba0fe781aa49435d968a.tar.xz
Add back support for reading and parsing 'deplibs'.
This is for backwards compatibility for pre-3.x bc files. The code reads the code, but does nothing with it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168779 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Bitcode')
-rw-r--r--include/llvm/Bitcode/LLVMBitCodes.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Bitcode/LLVMBitCodes.h b/include/llvm/Bitcode/LLVMBitCodes.h
index 1d32a93900..ad8c40217a 100644
--- a/include/llvm/Bitcode/LLVMBitCodes.h
+++ b/include/llvm/Bitcode/LLVMBitCodes.h
@@ -55,6 +55,9 @@ namespace bitc {
MODULE_CODE_ASM = 4, // ASM: [strchr x N]
MODULE_CODE_SECTIONNAME = 5, // SECTIONNAME: [strchr x N]
+ // FIXME: Remove DEPLIB in 4.0.
+ MODULE_CODE_DEPLIB = 6, // DEPLIB: [strchr x N]
+
// GLOBALVAR: [pointer type, isconst, initid,
// linkage, alignment, section, visibility, threadlocal]
MODULE_CODE_GLOBALVAR = 7,