Misha Brukman
35c8db23b6
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
b522771244
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
9430a3fcb4
Fix grammar
...
llvm-svn: 18023
2004-11-19 23:09:40 +00:00
Tanya Lattner
5f863d1a47
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
5c64da7c48
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
bea68bc91a
Adding srcdir arg
...
llvm-svn: 18020
2004-11-19 22:45:25 +00:00
Misha Brukman
87bfc8b09c
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
a782ae8ce8
Fix file comment header
...
llvm-svn: 18018
2004-11-19 22:09:21 +00:00
Misha Brukman
7fdf381d18
Ignore files generated by pod2html
...
llvm-svn: 18017
2004-11-19 21:54:43 +00:00
Misha Brukman
cda2bd5bdd
* 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
dd7ba48322
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
a5a7b2a839
Test case for reading MacOSX archives.
...
llvm-svn: 18014
2004-11-19 21:30:15 +00:00
Reid Spencer
aaca8047af
MacOSX test archive (buggy).
...
llvm-svn: 18013
2004-11-19 21:29:45 +00:00
Brian Gaeke
89f96e4c7c
Add VANext and VAArg stubs.
...
llvm-svn: 18012
2004-11-19 21:08:18 +00:00
Brian Gaeke
6224830c11
Implement va_start.
...
llvm-svn: 18011
2004-11-19 20:57:24 +00:00
Chris Lattner
0c79788bc4
Dont' forget to switch back to decimal output
...
llvm-svn: 18010
2004-11-19 20:57:07 +00:00
Chris Lattner
2978400c23
Match change in MachineCodeEmitter prototype.
...
llvm-svn: 18009
2004-11-19 20:56:46 +00:00
Chris Lattner
f9b6c00d88
External symbols are const char*'s now, change this to match.
...
llvm-svn: 18008
2004-11-19 20:56:22 +00:00
Chris Lattner
2a37cb2ef9
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
e88367016a
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
bd1f2c8fce
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
9c9427b62b
va_end can safely be codegen'd to nothing on v8.
...
llvm-svn: 18004
2004-11-19 19:21:34 +00:00
Brian Gaeke
7027432624
A very sorry stub implementation of varargs intrinsics...
...
llvm-svn: 18003
2004-11-19 18:53:59 +00:00
Brian Gaeke
42b684e550
Update list of expected test failures.
...
llvm-svn: 18002
2004-11-19 18:48:29 +00:00
Brian Gaeke
5de5da7603
Fix bug in casting to long/ulong.
...
llvm-svn: 18001
2004-11-19 18:48:10 +00:00
Reid Spencer
543fa87546
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
d9770db639
Fix memory leaks, patch contributed by Morten Ofstad!
...
llvm-svn: 17999
2004-11-19 17:09:48 +00:00
Chris Lattner
1d11859e8c
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
1c4d0a214a
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
73b5c56fc1
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
7a2566c4ff
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
783a12cad5
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
da8484d5d3
These methods are long gone, ConstantPointerRef is dead.
...
llvm-svn: 17993
2004-11-19 16:25:42 +00:00
Chris Lattner
a973b1a1a4
CPR is dead.
...
llvm-svn: 17992
2004-11-19 16:24:57 +00:00
Chris Lattner
e5662f4700
Add note that this is for old bytecode files.
...
llvm-svn: 17991
2004-11-19 16:24:05 +00:00
Chris Lattner
598ab60438
Mission accomplished!
...
llvm-svn: 17990
2004-11-19 16:22:24 +00:00
Reid Spencer
e61dec5896
Allow this to compile even on machines that HAVE the bzlib library but do
...
NOT have the bzlib.h header file. Go figure.
llvm-svn: 17989
2004-11-19 15:56:28 +00:00
Chris Lattner
0169ce5e9e
This is a horrible hack to work around libstdc++ bugs :(
...
llvm-svn: 17988
2004-11-19 08:44:07 +00:00
Nate Begeman
83cded0ecb
Eliminate another 6k register copies that the register allocator would just
...
coalesce out of hbd. Speeds up compilation by 2% (0.6s)
llvm-svn: 17987
2004-11-19 08:01:16 +00:00
Chris Lattner
b1263d42f8
Fix a bug in the checkin where I adjusted this code to work when
...
LinkModules nukes the second module argument.
llvm-svn: 17986
2004-11-19 07:09:40 +00:00
Reid Spencer
c385bbef7b
Undo last change as its unnecessary.
...
llvm-svn: 17985
2004-11-19 04:59:07 +00:00
Reid Spencer
0f1212a3c4
Test case for xpg4 style archive files.
...
llvm-svn: 17984
2004-11-19 04:46:10 +00:00
Reid Spencer
aa79a19039
Test reading of SVR4 style archives with llvm-ar
...
llvm-svn: 17983
2004-11-19 04:45:19 +00:00
Reid Spencer
53e3b42a27
Test case for reading SVR4 style archives.
...
llvm-svn: 17982
2004-11-19 04:33:13 +00:00
Reid Spencer
640ab4f4f6
Don't save an iterator, just use post-increment.
...
llvm-svn: 17981
2004-11-19 03:44:10 +00:00
Reid Spencer
f6b19a65a4
Solaris built archives in SVR4 and XPG4 styles.
...
llvm-svn: 17980
2004-11-19 03:41:57 +00:00
Reid Spencer
fb0e585554
Eliminate unsightly ;;
...
llvm-svn: 17979
2004-11-19 03:27:05 +00:00
Reid Spencer
ce1188e2e0
A test file that goes into the test archive.
...
llvm-svn: 17978
2004-11-19 03:24:02 +00:00
Reid Spencer
a2e2f5c878
Make a cast explicit.
...
llvm-svn: 17977
2004-11-19 03:20:09 +00:00
Reid Spencer
a181a37bb4
Make findModulesDefiningSymbols modify its symbols argument so we can \
...
eliminate symbols defined by the archive efficiently
llvm-svn: 17976
2004-11-19 03:18:22 +00:00