1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/Linker
Manman Ren 871181e2e0 Linker: correctly link in dbg.declare
Given source IR:
call void @llvm.dbg.declare(metadata !{i32* %argc.addr}, metadata !14), !dbg !15
we used to generate 
call void @llvm.dbg.declare(metadata !27, metadata !28), !dbg !29
!27 = metadata !{null}

With this patch, we will correctly generate
call void @llvm.dbg.declare(metadata !{i32* %argc.addr}, metadata !27), !dbg !28

Looking up %argc.addr in ValueMap will return null, since %argc.addr is already
correctly set up, we can use identity mapping.

llvm-svn: 173946
2013-01-30 17:42:15 +00:00
..
Inputs Switch a bunch of Linker tests from using elaborate echo productions to 2012-07-02 10:18:06 +00:00
2002-07-17-GlobalFail.ll
2002-07-17-LinkTest2.ll
2002-08-20-ConstantExpr.ll
2003-01-30-LinkerRename.ll Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
2003-01-30-LinkerTypeRename.ll Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
2003-04-23-LinkOnceLost.ll Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
2003-04-26-NullPtrLinkProblem.ll Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
2003-05-15-TypeProblem.ll Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
2003-05-31-LinkerRename.ll Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
2003-06-02-TypeResolveProblem2.ll Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
2003-06-02-TypeResolveProblem.ll Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
2003-08-20-OpaqueTypeResolve.ll Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
2003-08-23-GlobalVarLinking.ll Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
2003-08-23-RecursiveOpaqueTypeResolve.ll
2003-08-24-InheritPtrSize.ll Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
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 Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
2005-02-12-ConstantGlobals-2.ll Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
2005-02-12-ConstantGlobals.ll Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
2005-12-06-AppendingZeroLengthArrays.ll Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
2006-01-19-ConstantPacked.ll Remove the dependent libraries feature. 2012-11-27 09:55:56 +00:00
2006-06-15-GlobalVarAlignment.ll Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
2008-03-05-AliasReference2.ll
2008-03-05-AliasReference.ll
2008-03-07-DroppedSection_a.ll Remove llvm-ld and llvm-stub (which is only used by llvm-ld). 2012-04-19 19:27:54 +00:00
2008-03-07-DroppedSection_b.ll Remove llvm-ld and llvm-stub (which is only used by llvm-ld). 2012-04-19 19:27:54 +00:00
2008-06-13-LinkOnceRedefinition.ll Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
2008-06-26-AddressSpace.ll Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
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
2009-09-03-mdnode.ll
2011-08-04-DebugLoc2.ll
2011-08-04-DebugLoc.ll
2011-08-04-Metadata2.ll
2011-08-04-Metadata.ll
2011-08-18-unique-class-type2.ll
2011-08-18-unique-class-type.ll
2011-08-18-unique-debug-type2.ll
2011-08-18-unique-debug-type.ll
2011-08-22-ResolveAlias2.ll
2011-08-22-ResolveAlias.ll
AppendingLinkage2.ll Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
AppendingLinkage.ll Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
available_externally_a.ll
available_externally_b.ll
basiclink.ll Switch a bunch of Linker tests from using elaborate echo productions to 2012-07-02 10:18:06 +00:00
ConstantGlobals1.ll Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
ConstantGlobals2.ll Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
ConstantGlobals3.ll Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
DbgDeclare2.ll Linker: correctly link in dbg.declare 2013-01-30 17:42:15 +00:00
DbgDeclare.ll Linker: correctly link in dbg.declare 2013-01-30 17:42:15 +00:00
inlineasm.ll
link-global-to-func.ll Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
link-messages.ll Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
link-type-names.ll Add back removed code. It still causes LLVM to miscompile. But not having it breaks other things. 2012-02-27 23:48:30 +00:00
linkage.ll Switch a bunch of Linker tests from using elaborate echo productions to 2012-07-02 10:18:06 +00:00
linkmdnode2.ll
linkmdnode.ll
linknamedmdnode2.ll
linknamedmdnode.ll
LinkOnce.ll
lit.local.cfg Replace all instances of dg.exp file with lit.local.cfg, since all tests are run with LIT now and now Dejagnu. dg.exp is no longer needed. 2012-02-16 06:28:33 +00:00
metadata-a.ll
metadata-b.ll
module-flags-1-a.ll [Linker] Change module flag linking to be more extensible. 2013-01-16 18:39:23 +00:00
module-flags-1-b.ll [WIP] Initial code for module flags. 2012-02-11 11:38:06 +00:00
module-flags-2-a.ll [WIP] Initial code for module flags. 2012-02-11 11:38:06 +00:00
module-flags-2-b.ll [WIP] Initial code for module flags. 2012-02-11 11:38:06 +00:00
module-flags-3-a.ll [Linker] Change module flag linking to be more extensible. 2013-01-16 18:39:23 +00:00
module-flags-3-b.ll [WIP] Initial code for module flags. 2012-02-11 11:38:06 +00:00
module-flags-4-a.ll Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
module-flags-4-b.ll [WIP] Initial code for module flags. 2012-02-11 11:38:06 +00:00
module-flags-5-a.ll Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
module-flags-5-b.ll [WIP] Initial code for module flags. 2012-02-11 11:38:06 +00:00
module-flags-6-a.ll Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
module-flags-6-b.ll [WIP] Initial code for module flags. 2012-02-11 11:38:06 +00:00
module-flags-7-a.ll [Linker] Change module flag linking to be more extensible. 2013-01-16 18:39:23 +00:00
module-flags-7-b.ll [Linker] Change module flag linking to be more extensible. 2013-01-16 18:39:23 +00:00
module-flags-8-a.ll [IR] Add 'Append' and 'AppendUnique' module flag behaviors. 2013-01-16 21:38:56 +00:00
module-flags-8-b.ll [IR] Add 'Append' and 'AppendUnique' module flag behaviors. 2013-01-16 21:38:56 +00:00
multiple-merged-structs.ll Switch a bunch of Linker tests from using elaborate echo productions to 2012-07-02 10:18:06 +00:00
partial-type-refinement-link.ll
partial-type-refinement.ll
PR8300.ll Switch a bunch of Linker tests from using elaborate echo productions to 2012-07-02 10:18:06 +00:00
redefinition.ll Convert the uses of '|&' to use '2>&1 |' instead, which works on old 2012-07-02 18:37:59 +00:00
testlink1.ll Fix a copy/paste error in the IR Linker, casting an ArrayType instead of a VectorType. 2013-01-10 10:49:36 +00:00
testlink2.ll Fix a copy/paste error in the IR Linker, casting an ArrayType instead of a VectorType. 2013-01-10 10:49:36 +00:00
unnamed-addr1-a.ll
unnamed-addr1-b.ll
visibility1.ll
visibility2.ll
weakextern.ll Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00