summaryrefslogtreecommitdiffstats
path: root/test/Bitcode/upgrade-module-flag.ll
diff options
context:
space:
mode:
authorTom Stellard <tstellar@redhat.com>2017-11-17 18:48:34 +0000
committerTom Stellard <tstellar@redhat.com>2017-11-17 18:48:34 +0000
commit91a7b5abbfacfe0200216161eb1d853689a751f4 (patch)
treefb50f0d4fb33d0d030b91315820f3538de89962b /test/Bitcode/upgrade-module-flag.ll
parent52e96d1e3ae8fcf28bd2c238d88ef5d302bd317d (diff)
Merging r318289:
------------------------------------------------------------------------ r318289 | jdevlieghere | 2017-11-15 02:57:05 -0800 (Wed, 15 Nov 2017) | 14 lines [DebugInfo] Fix potential CU mismatch for SubprogramScopeDIEs. In constructAbstractSubprogramScopeDIE there can be a potential mismatch between `this` and the CU of ContextDIE when a scope is shared between two DISubprograms belonging to a different CU. In that case, `this` is the CU that was specified in the IR, but the CU of ContextDIE is that of the first subprogram that was emitted. This patch fixes the mismatch by looking up the CU of ContextDIE, and switching to use that. This fixes PR35212 (https://bugs.llvm.org/show_bug.cgi?id=35212) Patch by Philip Craig! Differential revision: https://reviews.llvm.org/D39981 ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_50@318542 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Bitcode/upgrade-module-flag.ll')
0 files changed, 0 insertions, 0 deletions