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 | e37d314464984a3a48b0e26695a41726dc3d7993 (patch) | |
| tree | 86dc4f910b74726ac6ec56eade64b49e773e51c9 /llvm/lib/CodeGen/RegUsageInfoPropagate.cpp | |
| parent | 79e37d517c6d035897a854231bff9b9b27f63a1e (diff) | |
| download | bcm5719-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/RegUsageInfoPropagate.cpp')
0 files changed, 0 insertions, 0 deletions

