llvm-6502/test/Linker
Duncan P. N. Exon Smith ee40b16641 Reapply "Linker: Drop superseded subprograms"
This reverts commit r224416, reapplying r224389.  The buildbots hadn't
recovered after my revert, waiting until David reverted a couple of his
commits.  It looks like it was just bad timing (where we were both
modifying code related to the same assertion).  Trying again...

Here's the original text:

    When a function gets replaced by `ModuleLinker`, drop superseded
    subprograms.  This ensures that the "first" subprogram pointing at a
    function is the same one that `!dbg` references point at.

    This is a stop-gap fix for PR21910.  Notably, this fixes Release+Asserts
    bootstraps that are currently asserting out in
    `LexicalScopes::initialize()` due to the explicit instantiations in
    `lib/IR/Dominators.cpp` eventually getting replaced by -argpromotion.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224487 91177308-0d34-0410-b5e6-96231b3b80d8
2014-12-18 01:05:33 +00:00
..
Inputs Reapply "Linker: Drop superseded subprograms" 2014-12-18 01:05:33 +00:00
2002-07-17-GlobalFail.ll
2002-07-17-LinkTest2.ll
2002-08-20-ConstantExpr.ll
2003-01-30-LinkerRename.ll
2003-01-30-LinkerTypeRename.ll
2003-04-23-LinkOnceLost.ll
2003-04-26-NullPtrLinkProblem.ll
2003-05-15-TypeProblem.ll
2003-05-31-LinkerRename.ll
2003-06-02-TypeResolveProblem2.ll
2003-06-02-TypeResolveProblem.ll
2003-08-20-OpaqueTypeResolve.ll
2003-08-23-GlobalVarLinking.ll
2003-08-23-RecursiveOpaqueTypeResolve.ll
2003-08-24-InheritPtrSize.ll
2003-08-28-TypeResolvesGlobal2.ll
2003-08-28-TypeResolvesGlobal3.ll
2003-08-28-TypeResolvesGlobal.ll
2003-10-27-LinkOncePromote.ll
2003-11-18-TypeResolution.ll
2004-02-17-WeakStrongLinkage.ll
2004-05-07-TypeResolution1.ll
2004-05-07-TypeResolution2.ll
2004-12-03-DisagreeingType.ll
2005-02-12-ConstantGlobals-2.ll
2005-02-12-ConstantGlobals.ll
2005-12-06-AppendingZeroLengthArrays.ll
2006-01-19-ConstantPacked.ll
2008-03-05-AliasReference2.ll
2008-03-05-AliasReference.ll
2008-03-07-DroppedSection_a.ll
2008-03-07-DroppedSection_b.ll
2008-06-13-LinkOnceRedefinition.ll
2008-06-26-AddressSpace.ll
2008-07-06-AliasFnDecl2.ll
2008-07-06-AliasFnDecl.ll
2008-07-06-AliasWeakDest2.ll
2008-07-06-AliasWeakDest.ll
2009-09-03-mdnode2.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
2009-09-03-mdnode.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
2011-08-04-DebugLoc2.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
2011-08-04-DebugLoc.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
2011-08-04-Metadata2.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
2011-08-04-Metadata.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
2011-08-18-unique-class-type2.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
2011-08-18-unique-class-type.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
2011-08-18-unique-debug-type2.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
2011-08-18-unique-debug-type.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
2011-08-22-ResolveAlias2.ll
2011-08-22-ResolveAlias.ll
alias.ll
alignment.ll Add a few extra cases to the test. NFC. 2014-12-05 00:02:42 +00:00
AppendingLinkage2.ll
AppendingLinkage.ll
available_externally_a.ll
available_externally_b.ll
basiclink.ll
comdat2.ll
comdat3.ll
comdat4.ll
comdat5.ll
comdat6.ll Simplify test. NFC. 2014-12-08 17:02:50 +00:00
comdat7.ll
comdat8.ll
comdat9.ll Don't crash when the key of a comdat is lazily linked. 2014-12-08 18:05:48 +00:00
comdat.ll
ConstantGlobals.ll
constructor-comdat.ll
ctors.ll
datalayout.ll
DbgDeclare2.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
DbgDeclare.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
debug-info-version-a.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
debug-info-version-b.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
dllstorage-a.ll
dllstorage-b.ll
func-attrs-a.ll
func-attrs-b.ll
global_ctors.ll
ident.ll
inlineasm.ll
link-global-to-func.ll
link-type-names.ll
linkage2.ll
linkage.ll
linkmdnode2.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
linkmdnode.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
linknamedmdnode2.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
linknamedmdnode.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
LinkOnce.ll
lto-attributes.ll Lazily link GlobalVariables and GlobalAliases. 2014-12-08 18:45:16 +00:00
metadata-a.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
metadata-b.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
module-flags-1-a.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
module-flags-1-b.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
module-flags-2-a.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
module-flags-2-b.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
module-flags-3-a.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
module-flags-3-b.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
module-flags-4-a.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
module-flags-4-b.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
module-flags-5-a.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
module-flags-5-b.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
module-flags-6-a.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
module-flags-6-b.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
module-flags-7-a.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
module-flags-7-b.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
module-flags-8-a.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
module-flags-8-b.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
module-flags-pic-1-a.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
module-flags-pic-2-a.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
multiple-merged-structs.ll
opaque.ll Add a testcase reduced from clang lto bootstrap on OS X. 2014-11-28 15:45:31 +00:00
partial-type-refinement-link.ll
partial-type-refinement.ll
pr21374.ll Ask the module for its the identified types. 2014-12-03 07:18:23 +00:00
pr21494.ll Lazily link GlobalVariables and GlobalAliases. 2014-12-08 18:45:16 +00:00
PR8300.ll
prologuedata.ll Fix linking of prologue data. 2014-12-08 13:44:38 +00:00
redefinition.ll
replaced-function-matches-first-subprogram.ll Reapply "Linker: Drop superseded subprograms" 2014-12-18 01:05:33 +00:00
targettriple.ll
testlink.ll Lazily link GlobalVariables and GlobalAliases. 2014-12-08 18:45:16 +00:00
transitive-lazy-link.ll
type-unique-alias.ll Link the type of aliases. 2014-11-25 04:43:59 +00:00
type-unique-dst-types.ll Change how we keep track of which types are in the dest module. 2014-12-01 04:15:59 +00:00
type-unique-inheritance.ll
type-unique-name.ll Set the body of a new struct as soon as it is created. 2014-11-25 15:33:40 +00:00
type-unique-odr-a.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
type-unique-odr-b.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
type-unique-opaque.ll Add back r222727 with a fix. 2014-11-28 16:41:24 +00:00
type-unique-simple2-a.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
type-unique-simple2-b.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
type-unique-simple2.ll
type-unique-simple-a.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
type-unique-simple-b.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
type-unique-src-type.ll Split the set of identified struct types into opaque and non-opaque ones. 2014-12-03 22:36:37 +00:00
type-unique-type-array-a.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
type-unique-type-array-b.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
type-unique-unrelated.ll Add an interesting test that we already get right. NFC. 2014-11-25 03:47:57 +00:00
unique-fwd-decl-a.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
unique-fwd-decl-order.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
unnamed-addr1-a.ll
unnamed-addr1-b.ll
unnamed-addr-err-a.ll
unnamed-addr-err-b.ll
visibility.ll
weakextern.ll Pass the .ll files to llvm-link directly. NFC. 2014-11-24 20:35:59 +00:00