diff options
author | Adrian Prantl <aprantl@apple.com> | 2017-05-16 23:46:10 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2017-05-16 23:46:10 +0000 |
commit | 6fc88757397387ca1f1c86457231a845f354664a (patch) | |
tree | 7eb688f4a728aacd3b5097c36d7e430b30bd59b4 /llvm/lib/CodeGen/MachineVerifier.cpp | |
parent | a369a45746b45b5257acda1c24406c2191d4509f (diff) | |
download | llvm-6fc88757397387ca1f1c86457231a845f354664a.zip llvm-6fc88757397387ca1f1c86457231a845f354664a.tar.gz llvm-6fc88757397387ca1f1c86457231a845f354664a.tar.bz2 |
Fix scope of namespaced DISubprograms when the function definition is out-of-line.
This fixes a regression introduced in r302915.
Using the lexical decl context is not necessary here for what r302915
wast trying to achieve. Not canonicalizing the NamespaceDecl in
getOrCreateNamespace is suficient.
rdar://problem/29339538
llvm-svn: 303222
Diffstat (limited to 'llvm/lib/CodeGen/MachineVerifier.cpp')
0 files changed, 0 insertions, 0 deletions