summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/ImplicitNullChecks.cpp
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
commite37d314464984a3a48b0e26695a41726dc3d7993 (patch)
tree86dc4f910b74726ac6ec56eade64b49e773e51c9 /llvm/lib/CodeGen/ImplicitNullChecks.cpp
parent79e37d517c6d035897a854231bff9b9b27f63a1e (diff)
downloadbcm5719-llvm-e37d314464984a3a48b0e26695a41726dc3d7993.tar.gz
bcm5719-llvm-e37d314464984a3a48b0e26695a41726dc3d7993.zip
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 llvm-svn: 294318
Diffstat (limited to 'llvm/lib/CodeGen/ImplicitNullChecks.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud