OSDN Git Service

IR: Require DICompositeType for ODR uniquing type map
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 19 Apr 2016 14:42:55 +0000 (14:42 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 19 Apr 2016 14:42:55 +0000 (14:42 +0000)
commitef55fa5ba564444601b7bacc2b8cc23add8ef518
treecfbfb021c0a59b06da516d9bb76014560cfbb18f
parentee5f5d934b48c3035a82c26f430f251ce7aaa382
IR: Require DICompositeType for ODR uniquing type map

Tighten up the API for debug info ODR type uniquing in LLVMContext.  The
only reason to allow other DIType subclasses is to make the unit tests
prettier :/.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@266737 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/LLVMContext.h
lib/AsmParser/LLParser.cpp
lib/Bitcode/Reader/BitcodeReader.cpp
lib/IR/LLVMContext.cpp
lib/IR/LLVMContextImpl.h
unittests/IR/LLVMContextTest.cpp