OSDN Git Service

DebugInfo: Make DIDerivedType accessors more strict
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Mon, 13 Apr 2015 23:13:18 +0000 (23:13 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Mon, 13 Apr 2015 23:13:18 +0000 (23:13 +0000)
commit7ca9328e168cbfa41b0c42eee594c856943b8ff9
tree659215f49e4a68f71ba61e32f0a0f8d111b0aadc
parentb4f643835245fb61ec243ed3d570fa6cf306872e
DebugInfo: Make DIDerivedType accessors more strict

These accessors in `DIDerivedType` should only be called when `DbgNode`
really is a `MDDerivedType`, not just a `MDDerivedTypeBase`.  Assume
that it is.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234812 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/DebugInfo.h