1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/test/LTO/X86
Vlad Tsyrklevich d8de16eaa2 IRMover: Account for matching types present across modules
Summary:
Due to uniqueing of DICompositeTypes, it's possible for a type from one
module to be loaded into another earlier module without being renamed.
Then when the defining module is being IRMoved, the type can be used as
a Mapping destination before being loaded, such that when it's requested
using TypeMapTy::get() it will fail with an assertion that the type is a
source type when it's actually a type in both the source and
destination modules. Correctly handle that case by allowing a non-opaque
non-literal struct type be present in both modules.

Fix for PR37684.

Reviewers: pcc, tejohnson

Reviewed By: pcc, tejohnson

Subscribers: tobiasvk, mehdi_amini, steven_wu, llvm-commits, kcc

Differential Revision: https://reviews.llvm.org/D47898

llvm-svn: 335145
2018-06-20 16:50:56 +00:00
..
Inputs IRMover: Account for matching types present across modules 2018-06-20 16:50:56 +00:00
attrs.ll
bcsection.ll
cfi_endproc.ll
current-section.ll
diagnostic-handler-noexit.ll
diagnostic-handler-remarks-with-hotness.ll
diagnostic-handler-remarks.ll
disable-verify.ll
invalid.ll
keep-used-puts-during-instcombine.ll
linkonce_odr_func.ll
list-symbols.ll
lit.local.cfg
llvm-lto-output.ll
no-undefined-puts-when-implemented.ll
objc-detection-i386.ll
objc-detection.ll
parallel.ll
pr25919.ll
private-symbol.ll
remangle_intrinsics_tbaa.ll
remangle_intrinsics.ll
restore-externals.ll
runtime-library.ll
set-merged.ll
stdcall.ll
strip-debug-info-no-call-loc.ll [DebugInfo] Add DILabel metadata and intrinsic llvm.dbg.label. 2018-05-09 02:40:45 +00:00
strip-debug-info.ll
symver-asm2.ll
symver-asm3.ll Object: Don't mark alias unconditionally defined 2018-04-10 00:53:16 +00:00
symver-asm.ll
triple-init.ll
type-mapping-bug2.ll IRMover: Account for matching types present across modules 2018-06-20 16:50:56 +00:00
type-mapping-bug.ll
unnamed.ll