summaryrefslogtreecommitdiff
path: root/test/Bitcode/DIGlobalVariableExpression.ll.bc
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2017-02-07 17:35:41 +0000
committerAdrian Prantl <aprantl@apple.com>2017-02-07 17:35:41 +0000
commit04ac0249b02039909e906df0e0e424ceb2879108 (patch)
tree3a522fad42d7dd2bdbe3b4300e76d28da9dd3924 /test/Bitcode/DIGlobalVariableExpression.ll.bc
parentc1438368aa02155eac4eb948034726c3e7b37986 (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.bcbin1120 -> 1128 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/test/Bitcode/DIGlobalVariableExpression.ll.bc b/test/Bitcode/DIGlobalVariableExpression.ll.bc
index 54b6dbd6351..0eeb3aaca82 100644
--- a/test/Bitcode/DIGlobalVariableExpression.ll.bc
+++ b/test/Bitcode/DIGlobalVariableExpression.ll.bc
Binary files differ