Commit Graph

15833 Commits

Author SHA1 Message Date
Reid Spencer ead62081ea Provide the srcdir variable.
llvm-svn: 18042
2004-11-20 07:25:10 +00:00
Reid Spencer b4dd52ae4a Describe the Archive test suite.
llvm-svn: 18041
2004-11-20 07:24:28 +00:00
Reid Spencer 374df50e95 Contents separated into individual tests.
llvm-svn: 18040
2004-11-20 07:23:56 +00:00
Chris Lattner 233e9bb546 This method was never implemented
llvm-svn: 18039
2004-11-20 04:19:47 +00:00
Chris Lattner 6f01b4cf1f Remove this method, it's not clear how it could be implemented indep of 32 or 64-bit mode
llvm-svn: 18038
2004-11-20 04:17:17 +00:00
Chris Lattner ae5ac03c1d getJITStubForFunction is optional and unimplemented, just remove it for now.
llvm-svn: 18037
2004-11-20 04:15:38 +00:00
Chris Lattner f0c6aff268 getJITStubForFunction is optional and unimplemented, just remove it.
llvm-svn: 18036
2004-11-20 04:14:44 +00:00
Chris Lattner 6cf7a43603 Add getCurrentPCOffset() and addRelocation() methods.
Add stub support for relocations to finishFunction

llvm-svn: 18035
2004-11-20 03:46:14 +00:00
Chris Lattner f6fcf39aed Add getCurrentPCOffset() and addRelocation() methods.
llvm-svn: 18034
2004-11-20 03:44:39 +00:00
Chris Lattner 50e498fac6 Add the getRelocationType method that I forgot
llvm-svn: 18033
2004-11-20 03:43:50 +00:00
Chris Lattner 6ee028a42a Allow targets to implement relocation support.
llvm-svn: 18032
2004-11-20 03:43:27 +00:00
Brian Gaeke 774e978e0d Implement vacopy and vanext.
llvm-svn: 18031
2004-11-20 03:32:12 +00:00
Chris Lattner b7b78508a8 Add accessor
llvm-svn: 18030
2004-11-20 03:11:07 +00:00
Chris Lattner 1caf0161f2 New file
llvm-svn: 18029
2004-11-20 03:05:50 +00:00
Misha Brukman 72a57c3259 Allow constructor parameter to override aggregating args; fix spacing
llvm-svn: 18028
2004-11-20 02:20:27 +00:00
Chris Lattner 91a88ae6d1 Remove dead #include
llvm-svn: 18027
2004-11-20 02:17:03 +00:00
Misha Brukman 29d3d46c36 If we're going to mention mv and cp, clearly, we also need `rm'
llvm-svn: 18026
2004-11-20 01:27:40 +00:00
Misha Brukman 4bf11e1618 Revert the patch that adds Function* for each 64-bit libc div/mul/rem that we
want to do; instead, we can use MachineInstr::addExternalSymbol(char*, bool) and
thus we don't have to modify the Module as we are code generating for it

llvm-svn: 18025
2004-11-20 00:10:20 +00:00
Tanya Lattner 2e4f222045 Made modsched hidden and changed so it matches the style of other options.
llvm-svn: 18024
2004-11-19 23:34:33 +00:00
Misha Brukman f1ccebba3d Fix grammar
llvm-svn: 18023
2004-11-19 23:09:40 +00:00
Tanya Lattner 5615a28d13 Forgot to join srcdir and subdir for complete path for input files.
llvm-svn: 18022
2004-11-19 23:00:19 +00:00
Tanya Lattner 8287d24dd3 Adding srcdir arg. Added ability to specify the path to an input file. This is needed for when srcdir != objdir.
llvm-svn: 18021
2004-11-19 22:46:23 +00:00
Tanya Lattner f1e4bf5b66 Adding srcdir arg
llvm-svn: 18020
2004-11-19 22:45:25 +00:00
Misha Brukman ce75b2c2cf Add protoypes for 64-bit long/ulong div, mul, and rem functions
llvm-svn: 18019
2004-11-19 22:14:35 +00:00
Misha Brukman dbe04afcb9 Fix file comment header
llvm-svn: 18018
2004-11-19 22:09:21 +00:00
Misha Brukman a559eee32f Ignore files generated by pod2html
llvm-svn: 18017
2004-11-19 21:54:43 +00:00
Misha Brukman 1ed0fa5cdf * Remove disk space requirements, they vary wildly, depend on the number of
tools built, the build type, and we don't keep them up-to-date on all
  platforms
* AIX, Linux on PowerPC aren't fully-supported systems

llvm-svn: 18016
2004-11-19 21:53:22 +00:00
Misha Brukman cb178bd478 Handle GhostLinkage case for completeness (should not be seen by the asm writer)
llvm-svn: 18015
2004-11-19 21:49:19 +00:00
Reid Spencer 7ac3426f3b Test case for reading MacOSX archives.
llvm-svn: 18014
2004-11-19 21:30:15 +00:00
Reid Spencer 23790aded8 MacOSX test archive (buggy).
llvm-svn: 18013
2004-11-19 21:29:45 +00:00
Brian Gaeke 1db83f7b73 Add VANext and VAArg stubs.
llvm-svn: 18012
2004-11-19 21:08:18 +00:00
Brian Gaeke 1c014df436 Implement va_start.
llvm-svn: 18011
2004-11-19 20:57:24 +00:00
Chris Lattner 4cd9def8b7 Dont' forget to switch back to decimal output
llvm-svn: 18010
2004-11-19 20:57:07 +00:00
Chris Lattner c27389815d Match change in MachineCodeEmitter prototype.
llvm-svn: 18009
2004-11-19 20:56:46 +00:00
Chris Lattner 2d1c4962f3 External symbols are const char*'s now, change this to match.
llvm-svn: 18008
2004-11-19 20:56:22 +00:00
Chris Lattner b3e3840e5c Instead of storing std::string's for ExternalSymbol references, rely on the
fact that all ExternalSymbols are actually string literals with static storage.
Thus we don't have to do anything special to hold them and we certainly don't
have to copy string data around.

llvm-svn: 18007
2004-11-19 20:46:15 +00:00
Brian Gaeke 3db46bd0e1 First part of varargs support: getting all varargs which could possibly
be in registers into memory.

llvm-svn: 18006
2004-11-19 20:31:08 +00:00
Chris Lattner e404d724ea Fix a bug that caused stuff like this:
main at ./eh.cpp:1414 ->          printf("a\n");

to be printed, instead of this:

main at ./eh.cpp:14
14 ->          printf("a\n");

llvm-svn: 18005
2004-11-19 19:45:44 +00:00
Brian Gaeke 8bb29bf3f6 va_end can safely be codegen'd to nothing on v8.
llvm-svn: 18004
2004-11-19 19:21:34 +00:00
Brian Gaeke 201535d102 A very sorry stub implementation of varargs intrinsics...
llvm-svn: 18003
2004-11-19 18:53:59 +00:00
Brian Gaeke 1810073046 Update list of expected test failures.
llvm-svn: 18002
2004-11-19 18:48:29 +00:00
Brian Gaeke 3effd0d769 Fix bug in casting to long/ulong.
llvm-svn: 18001
2004-11-19 18:48:10 +00:00
Reid Spencer b8930d72ae Make sure we can read an archive after it has been ranlib'd
llvm-svn: 18000
2004-11-19 18:44:31 +00:00
Chris Lattner a8a8a03a85 Fix memory leaks, patch contributed by Morten Ofstad!
llvm-svn: 17999
2004-11-19 17:09:48 +00:00
Chris Lattner 37bcd99622 Patches to avoid "leaking" memory on process exit. Patch contributed by
Morten Ofstad!

llvm-svn: 17998
2004-11-19 17:08:15 +00:00
Reid Spencer 78e12c73e5 Correct the computation of when to add the padding. It is not based on the
member's size. It is based on the oddness/evenness of the file pointer.
This fixes a bug with llvm-ar not being able to read archives produced by
llvm-ranlib when there are members with odd long file name lengths.

llvm-svn: 17997
2004-11-19 17:08:00 +00:00
Chris Lattner 446948e094 Fix the exposed prototype for the lower packed pass, thanks to
Morten Ofstad.

llvm-svn: 17996
2004-11-19 16:49:34 +00:00
Chris Lattner 99a669b110 Add hooks to free all memory allocated by the singleton factories in these
files.  Patch contributed by Morten Ofstad!

llvm-svn: 17995
2004-11-19 16:39:44 +00:00
Chris Lattner 083ce459c7 Add static functions to clear singleton maps. Patch contributed by
Morten Ofstad!

llvm-svn: 17994
2004-11-19 16:39:04 +00:00
Chris Lattner 8943604aeb These methods are long gone, ConstantPointerRef is dead.
llvm-svn: 17993
2004-11-19 16:25:42 +00:00