llvm-6502/test/Linker
Chris Lattner df98617b23 Reimplement the old and horrible bison parser for .ll files with a nice
and clean recursive descent parser.

This change has a couple of ramifications:
1. The parser code is about 400 lines shorter (in what we maintain, not
   including what is autogenerated).
2. The code should be significantly faster than the old code because we 
   don't have to work around bison's poor handling of datatypes with 
   ctors/dtors.  This also makes the code much more resistant to memory 
   leaks.
3. We now get caret diagnostics from the .ll parser, woo.
4. The actual diagnostics emited from the parser are completely different
   so a bunch of testcases had to be updated.
5. I now disallow "%ty = type opaque %ty = type i32".  There was no good
   reason to support this, it was just an accident of the old 
   implementation.  I have no reason to think that anyone is actually using
   this.
6. The syntax for sticking a global variable has changed to make it 
   unambiguous.  I don't think anyone is depending on this since only clang
   supports this and it is not solid yet, so I'm not worried about anything
   breaking.
7. This gets rid of the last use of bison, and along with it the .cvs files.
   I'll prune this from the makefiles as a subsequent commit.

There are a few minor cleanups that can be done after this commit (suggestions
welcome!) but this passes dejagnu testing and is ready for its time in the
limelight.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61558 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-02 07:01:27 +00:00
..
2002-07-17-GlobalFail.ll
2002-07-17-LinkTest2.ll
2002-08-20-ConstantExpr.ll
2003-01-30-LinkerRename.ll Eliminate questionable syntax for stdin redirection. This probably also speeds things up a bit. 2008-05-20 22:07:21 +00:00
2003-01-30-LinkerTypeRename.ll
2003-04-21-Linkage.ll Eliminate questionable syntax for stdin redirection. This probably also speeds things up a bit. 2008-05-20 22:07:21 +00:00
2003-04-23-LinkOnceLost.ll Eliminate questionable syntax for stdin redirection. This probably also speeds things up a bit. 2008-05-20 22:07:21 +00:00
2003-04-26-NullPtrLinkProblem.ll Eliminate questionable syntax for stdin redirection. This probably also speeds things up a bit. 2008-05-20 22:07:21 +00:00
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-21-ConflictingTypesTolerance.ll Fix some tests. 2008-06-12 21:23:38 +00:00
2003-10-27-LinkOncePromote.ll
2003-11-18-TypeResolution.ll
2004-02-17-WeakStrongLinkage.ll
2004-05-07-TypeResolution1.ll Eliminate questionable syntax for stdin redirection. This probably also speeds things up a bit. 2008-05-20 22:07:21 +00:00
2004-05-07-TypeResolution2.ll
2004-12-03-DisagreeingType.ll Fix some escaping and quoting in RUN lines, mainly involving { and <. In two 2008-06-10 16:04:47 +00:00
2005-02-12-ConstantGlobals-2.ll
2005-02-12-ConstantGlobals.ll
2005-12-06-AppendingZeroLengthArrays.ll
2006-01-19-ConstantPacked.ll Eliminate questionable syntax for stdin redirection. This probably also speeds things up a bit. 2008-05-20 22:07:21 +00:00
2006-06-15-GlobalVarAlignment.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 Fix an error handling redefinition of linkonce functions where the 2008-06-20 05:29:39 +00:00
2008-06-26-AddressSpace.ll Reimplement the old and horrible bison parser for .ll files with a nice 2009-01-02 07:01:27 +00:00
2008-07-06-AliasFnDecl2.ll Testcase for PR2146 2008-07-05 23:03:46 +00:00
2008-07-06-AliasFnDecl.ll Testcase for PR2146 2008-07-05 23:03:46 +00:00
2008-07-06-AliasWeakDest2.ll Add global variable to test for consistency 2008-10-15 20:22:44 +00:00
2008-07-06-AliasWeakDest.ll Add global variable to test for consistency 2008-10-15 20:22:44 +00:00
AppendingLinkage2.ll
AppendingLinkage.ll
basiclink.ll
ConstantGlobals1.ll
ConstantGlobals2.ll
ConstantGlobals3.ll
dg.exp
link-archive.ll Use the c modifier to tell llvm-ar not to issue a 2008-06-27 10:52:12 +00:00
link-global-to-func.ll Reimplement LinkFunctionProtos in terms of GetLinkageResult. This fixes 2008-07-14 07:23:24 +00:00
link-messages.ll Reimplement LinkFunctionProtos in terms of GetLinkageResult. This fixes 2008-07-14 07:23:24 +00:00
LinkOnce.ll
redefinition.ll Reimplement LinkFunctionProtos in terms of GetLinkageResult. This fixes 2008-07-14 07:23:24 +00:00
testlink1.ll
testlink2.ll
weakextern.ll