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
Chris Lattner
d137be2d0d
CPR is dead.
...
llvm-svn: 17992
2004-11-19 16:24:57 +00:00
Chris Lattner
ddf3b7997f
Add note that this is for old bytecode files.
...
llvm-svn: 17991
2004-11-19 16:24:05 +00:00
Chris Lattner
1b4e78d9e6
Mission accomplished!
...
llvm-svn: 17990
2004-11-19 16:22:24 +00:00
Reid Spencer
dc23fe9ded
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
d215992b35
This is a horrible hack to work around libstdc++ bugs :(
...
llvm-svn: 17988
2004-11-19 08:44:07 +00:00
Nate Begeman
488f4a4352
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
dad1823703
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
0bcf9e4da6
Undo last change as its unnecessary.
...
llvm-svn: 17985
2004-11-19 04:59:07 +00:00
Reid Spencer
33fe653a94
Test case for xpg4 style archive files.
...
llvm-svn: 17984
2004-11-19 04:46:10 +00:00
Reid Spencer
866b586851
Test reading of SVR4 style archives with llvm-ar
...
llvm-svn: 17983
2004-11-19 04:45:19 +00:00
Reid Spencer
a8f3ed701a
Test case for reading SVR4 style archives.
...
llvm-svn: 17982
2004-11-19 04:33:13 +00:00
Reid Spencer
fc9f779039
Don't save an iterator, just use post-increment.
...
llvm-svn: 17981
2004-11-19 03:44:10 +00:00
Reid Spencer
6abd4457e7
Solaris built archives in SVR4 and XPG4 styles.
...
llvm-svn: 17980
2004-11-19 03:41:57 +00:00
Reid Spencer
3356325996
Eliminate unsightly ;;
...
llvm-svn: 17979
2004-11-19 03:27:05 +00:00
Reid Spencer
9aa7a2b468
A test file that goes into the test archive.
...
llvm-svn: 17978
2004-11-19 03:24:02 +00:00