llvm-6502/test/Linker
Chandler Carruth 4177e6fff5 Convert all tests using TCL-style quoting to use shell-style quoting.
This was done through the aid of a terrible Perl creation. I will not
paste any of the horrors here. Suffice to say, it require multiple
staged rounds of replacements, state carried between, and a few
nested-construct-parsing hacks that I'm not proud of. It happens, by
luck, to be able to deal with all the TCL-quoting patterns in evidence
in the LLVM test suite.

If anyone is maintaining large out-of-tree test trees, feel free to poke
me and I'll send you the steps I used to convert things, as well as
answer any painful questions etc. IRC works best for this type of thing
I find.

Once converted, switch the LLVM lit config to use ShTests the same as
Clang. In addition to being able to delete large amounts of Python code
from 'lit', this will also simplify the entire test suite and some of
lit's architecture.

Finally, the test suite runs 33% faster on Linux now. ;]
For my 16-hardware-thread (2x 4-core xeon e5520): 36s -> 24s

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159525 91177308-0d34-0410-b5e6-96231b3b80d8
2012-07-02 12:47:22 +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 Land the long talked about "type system rewrite" patch. This 2011-07-09 17:41:24 +00:00
2003-08-24-InheritPtrSize.ll Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
2003-08-28-TypeResolvesGlobal2.ll
2003-08-28-TypeResolvesGlobal3.ll
2003-08-28-TypeResolvesGlobal.ll Land the long talked about "type system rewrite" patch. This 2011-07-09 17:41:24 +00:00
2003-10-27-LinkOncePromote.ll
2003-11-18-TypeResolution.ll Use %% for literals in RUN lines. 2011-08-26 20:09:48 +00:00
2004-02-17-WeakStrongLinkage.ll
2004-05-07-TypeResolution1.ll Upgrade syntax of tests using volatile instructions to use 'load volatile' instead of 'volatile load', which is archaic. 2011-11-27 06:54:59 +00:00
2004-05-07-TypeResolution2.ll Upgrade syntax of tests using volatile instructions to use 'load volatile' instead of 'volatile load', which is archaic. 2011-11-27 06:54:59 +00:00
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
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 We need to map DebugLoc. It leads to Fuction * (through subprogram entry node) which should be appropriately mapped. 2011-08-04 20:02:18 +00:00
2011-08-04-DebugLoc.ll We need to map DebugLoc. It leads to Fuction * (through subprogram entry node) which should be appropriately mapped. 2011-08-04 20:02:18 +00:00
2011-08-04-Metadata2.ll Linke NamedMDNodes after linking global values as comment suggests. 2011-08-04 19:44:28 +00:00
2011-08-04-Metadata.ll Linke NamedMDNodes after linking global values as comment suggests. 2011-08-04 19:44:28 +00:00
2011-08-18-unique-class-type2.ll Add another test. 2011-08-18 18:50:25 +00:00
2011-08-18-unique-class-type.ll Add another test. 2011-08-18 18:50:25 +00:00
2011-08-18-unique-debug-type2.ll Add test to check type uniquing. 2011-08-18 18:40:49 +00:00
2011-08-18-unique-debug-type.ll Let this test pass even if 'int' is somewhere in its directory path. 2011-10-15 18:07:16 +00:00
2011-08-22-ResolveAlias2.ll Testcase for PR10663. 2011-08-22 10:32:09 +00:00
2011-08-22-ResolveAlias.ll Testcase for PR10663. 2011-08-22 10:32:09 +00:00
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 Correctly merge available_externally and regular definitions when they have 2011-02-01 05:33:52 +00:00
available_externally_b.ll Correctly merge available_externally and regular definitions when they have 2011-02-01 05:33:52 +00:00
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
inlineasm.ll fix rdar://9776316 - type remapping needed for inline asm blobs, 2011-07-15 23:18:40 +00:00
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 Remove llvm-ld and llvm-stub (which is only used by llvm-ld). 2012-04-19 19:27:54 +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 fix PR9015, a crash linking recursive metadata. 2011-01-24 03:18:24 +00:00
linkmdnode.ll fix PR9015, a crash linking recursive metadata. 2011-01-24 03:18:24 +00:00
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 Reapply r112091 and r111922, support for metadata linking, with a 2010-08-26 15:41:53 +00:00
metadata-b.ll Reapply r112091 and r111922, support for metadata linking, with a 2010-08-26 15:41:53 +00:00
module-flags-1-a.ll [WIP] Initial code for module flags. 2012-02-11 11:38:06 +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 [WIP] Initial code for module flags. 2012-02-11 11:38:06 +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 Change error tests to coincide with message changes. 2012-02-14 09:29:21 +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 Change error tests to coincide with message changes. 2012-02-14 09:29:21 +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 Change error tests to coincide with message changes. 2012-02-14 09:29:21 +00:00
module-flags-6-b.ll [WIP] Initial code for module flags. 2012-02-11 11:38:06 +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 all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00
testlink1.ll Land the long talked about "type system rewrite" patch. This 2011-07-09 17:41:24 +00:00
testlink2.ll Land the long talked about "type system rewrite" patch. This 2011-07-09 17:41:24 +00:00
unnamed-addr1-a.ll Land the long talked about "type system rewrite" patch. This 2011-07-09 17:41:24 +00:00
unnamed-addr1-b.ll Allow unnamed_addr on declarations. 2011-01-15 08:15:00 +00:00
visibility1.ll Link symbols with different visibilities according to the rules in the 2012-01-05 23:02:01 +00:00
visibility2.ll Link symbols with different visibilities according to the rules in the 2012-01-05 23:02:01 +00:00
weakextern.ll Convert all tests using TCL-style quoting to use shell-style quoting. 2012-07-02 12:47:22 +00:00