diff options
author | Adrian Prantl <aprantl@apple.com> | 2017-02-07 17:35:41 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2017-02-07 17:35:41 +0000 |
commit | 04ac0249b02039909e906df0e0e424ceb2879108 (patch) | |
tree | 3a522fad42d7dd2bdbe3b4300e76d28da9dd3924 /test/Bitcode/DIGlobalVariableExpression.ll.bc | |
parent | c1438368aa02155eac4eb948034726c3e7b37986 (diff) |
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
Diffstat (limited to 'test/Bitcode/DIGlobalVariableExpression.ll.bc')
-rw-r--r-- | test/Bitcode/DIGlobalVariableExpression.ll.bc | bin | 1120 -> 1128 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/test/Bitcode/DIGlobalVariableExpression.ll.bc b/test/Bitcode/DIGlobalVariableExpression.ll.bc Binary files differindex 54b6dbd6351..0eeb3aaca82 100644 --- a/test/Bitcode/DIGlobalVariableExpression.ll.bc +++ b/test/Bitcode/DIGlobalVariableExpression.ll.bc |