Adrian Prantl 04ac0249b0 Fix the bitcode upgrade for DIGlobalVariable in a DIImportedEntity context.
The bitcode upgrade for DIGlobalVariable unconditionally wrapped
DIGlobalVariables in a DIGlobalVariableExpression. When a
DIGlobalVariable is referenced by a DIImportedEntity, however, this is
wrong. This patch fixes the bitcode upgrade by deferring the creation
of DIGlobalVariableExpressions until we know the context of the
DIGlobalVariable.

<rdar://problem/30134279>

Differential Revision: https://reviews.llvm.org/D29349

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294318 91177308-0d34-0410-b5e6-96231b3b80d8
2017-02-07 17:35:41 +00:00
..
2016-07-04 08:01:29 +00:00
2016-07-04 08:01:29 +00:00
2016-07-04 08:01:29 +00:00
2015-01-19 15:16:06 +00:00
2014-05-16 19:35:39 +00:00