Debug Info: add an assertion that the context field of a global variable can not
authorManman Ren <manman.ren@gmail.com>
Fri, 21 Nov 2014 19:47:48 +0000 (19:47 +0000)
committerManman Ren <manman.ren@gmail.com>
Fri, 21 Nov 2014 19:47:48 +0000 (19:47 +0000)
commitea692ff7123d87ae3147d9a02f4c1a39d6973603
tree4a57f112e2ead5e40f1d2ac0ab0b55f11f6c329a
parent7e19efdbb3f6dec6849c2156bab09d8f2f58a1ac
Debug Info: add an assertion that the context field of a global variable can not
be a DIType with identifier.

This makes sure that there is no need to use DIScopeRef for global variable's
context.

rdar://18958417

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222561 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/DIBuilder.cpp