Brian Gaeke
74edce6f7c
Make mmap's fd for anonymous memory acquisition default to -1, except on
...
Linux. This is consistent with what FreeBSD and Solaris both want.
This makes the JIT work on FreeBSD 5.1-RELEASE. Whee.
llvm-svn: 9045
2003-10-11 03:51:18 +00:00
Brian Gaeke
bf7bbf1881
Quote qmtest args in $(CONTEXT).
...
I don't remember precisely what bug this fixed, but I remember that
it fixed a bug. Sorry. (I think one of these args had a Funny Shell Character
in it, or a space, or something, in my last build, and this seemed
like the obvious fix.)
llvm-svn: 9044
2003-10-11 00:10:05 +00:00
Chris Lattner
3f647b8bc0
Actually pass in a pointer to the thrown object, not a pointer to the
...
exception header. This is the final missing piece from the PR#27 puzzle.
llvm-svn: 9043
2003-10-10 22:55:55 +00:00
Brian Gaeke
969378468e
This seems to work around some unobvious bug in gcc on sparc which was
...
causing the build of lib/Target/X86 to fail.
llvm-svn: 9042
2003-10-10 21:55:29 +00:00
John Criswell
c751a493af
Removed the AnalyzeTest class.
...
llvm-svn: 9041
2003-10-10 20:24:56 +00:00
John Criswell
486035591f
Make the clean target remove the QMTest temporary directory.
...
Remove QMTest python classes which are no longer used.
llvm-svn: 9040
2003-10-10 19:52:30 +00:00
John Criswell
75306b2fc3
Renamed the feature subtests so that they do not begin with 'f'. It was
...
never necessary to do that to denote them as feature tests.
Removed the Feature.asm tests as they are the same as the Feature.mc
tests.
llvm-svn: 9039
2003-10-10 19:50:53 +00:00
Brian Gaeke
c4501c936f
Don't include <stdlib.h>.
...
llvm-svn: 9038
2003-10-10 19:12:45 +00:00
Brian Gaeke
2797c131ef
Don't include "Config/stdlib.h".
...
llvm-svn: 9037
2003-10-10 19:12:22 +00:00
Brian Gaeke
bc12709888
Include <cctype> and <cstdlib> instead of <ctype.h> and "Config/stdlib.h".
...
llvm-svn: 9036
2003-10-10 19:12:08 +00:00
Brian Gaeke
56569e8a66
No longer used anywhere.
...
Dead.
This is a dead header.
It's not pining! It's passed on! This header is no more! It has ceased
to be! It's expired and gone to meet its maker! It's a stiff! Bereft
of life, it rests in peace! If you hadn't nailed it to the perch it'd
be pushing up the daisies! Its metabolic processes are now history! It's
off the twig! It's kicked the bucket! It's shuffled off its mortal coil,
run down the curtain, and joined the bleeding choir invisibile!! THIS IS
AN EX-HEADER!!
llvm-svn: 9035
2003-10-10 18:58:07 +00:00
John Criswell
4d142dbf66
Fixed spelling.
...
llvm-svn: 9034
2003-10-10 18:51:11 +00:00
Brian Gaeke
81d153e37f
Rewrite head-of-file comment.
...
Include <cstdio> instead of <stdio.h>.
llvm-svn: 9033
2003-10-10 18:47:08 +00:00
Brian Gaeke
b8a4ed6543
Include <cstdio> instead of <stdio.h>.
...
llvm-svn: 9032
2003-10-10 18:46:52 +00:00
Brian Gaeke
cc31fddf13
Don't include Config/stdio.h or <stdio.h>.
...
llvm-svn: 9031
2003-10-10 18:46:29 +00:00
John Criswell
e90fc1f163
Initial checkin of Testing Guide.
...
Still very rough, IMHO.
llvm-svn: 9030
2003-10-10 18:42:49 +00:00
Chris Lattner
e01ba00b87
Add a new -disable-inlining option
...
llvm-svn: 9028
2003-10-10 18:18:53 +00:00
Misha Brukman
8b2bd4ed47
Fix spelling.
...
llvm-svn: 9027
2003-10-10 17:57:28 +00:00
Misha Brukman
d67697411a
Fix grammar.
...
llvm-svn: 9026
2003-10-10 17:56:49 +00:00
Misha Brukman
fa100531e1
Fix spelling/grammar.
...
llvm-svn: 9023
2003-10-10 17:54:14 +00:00
Misha Brukman
857c21b4e0
* Tabs to spaces
...
* Doxygenified function comments
* Added FIXMEs to solicit documentation for other functions
llvm-svn: 9022
2003-10-10 17:45:12 +00:00
Misha Brukman
aa7d26c8c8
Fix spelling.
...
llvm-svn: 9021
2003-10-10 17:42:19 +00:00
Misha Brukman
80f283b316
* Doxygenified comments
...
* Wrap code at 80 columns
* Ordered includes according to LLVM style guide
llvm-svn: 9020
2003-10-10 17:41:32 +00:00
Misha Brukman
061c3750a1
Use 'F' for Function instead of 'M'.
...
llvm-svn: 9019
2003-10-10 17:38:31 +00:00
Misha Brukman
ad58f4133a
Print out just the filename being compiled/linked, not the full path to it.
...
llvm-svn: 9018
2003-10-10 17:37:22 +00:00
Misha Brukman
3a0677e0da
Renamed dis.cpp => llvm-dis.cpp
...
llvm-svn: 9017
2003-10-10 17:30:10 +00:00
Misha Brukman
71563f49b2
Renamed as.cpp => llvm-as.cpp; this should've happened a long time ago.
...
llvm-svn: 9016
2003-10-10 17:28:53 +00:00
Brian Gaeke
db363a0d12
The code that called strsignal is toast.
...
llvm-svn: 9015
2003-10-10 17:04:43 +00:00
Brian Gaeke
20c65741d0
Never set any signal handlers.
...
Never call setjmp(), longjmp() or strsignal().
llvm-svn: 9014
2003-10-10 17:03:22 +00:00
Brian Gaeke
6cc20deac1
Rewrite head-of-file comment.
...
In lookupFunction():
Change to use "F" for Function argument instead of ancient "M".
Remove commented-out code.
Change to use GetAddressOfSymbol instead of dlsym.
llvm-svn: 9013
2003-10-10 17:03:10 +00:00
Brian Gaeke
e8bbcfc298
Change to use GetAddressOfSymbol instead of dlsym.
...
llvm-svn: 9012
2003-10-10 17:02:42 +00:00
Brian Gaeke
0cf2da2b03
Change to use LinkDynamicObject instead of dlopen.
...
llvm-svn: 9011
2003-10-10 17:01:49 +00:00
Brian Gaeke
e5e53229fc
Change to use strtoul instead of strtoll.
...
llvm-svn: 9010
2003-10-10 17:01:36 +00:00
Misha Brukman
b3acb4027e
Fixing the spelling of this filename.
...
llvm-svn: 9009
2003-10-10 16:57:31 +00:00
Brian Gaeke
e2a8124476
Add my abstracted dynamic linker support files.
...
llvm-svn: 9008
2003-10-10 16:55:42 +00:00
Chris Lattner
8ad183194b
Reserve space for PHI operands
...
llvm-svn: 9007
2003-10-10 16:34:58 +00:00
John Criswell
e285b410fa
Removed information about compiling the GCC front end. This will be in a
...
separate document that we will provide to people who request the source.
Updated the support architecture information to be a little more precise.
Added hyperlinks for all of the tools which are required for building LLVM.
This should make it easier for people to find and install these required
tools.
Italicized some of the "variables" that we use in place of absolute paths.
Added the --enable-spec2000 option to the quick start section.
Other minor changes/corrections/clarifications.
llvm-svn: 9006
2003-10-10 16:17:19 +00:00
Chris Lattner
2c9a328881
Make the message stand out more
...
llvm-svn: 9004
2003-10-10 15:55:43 +00:00
John Criswell
38cc2b5fc6
Re-did some of the text wrapping (sorry).
...
Made the "Getting Started Quickly" material its own section. I think this makes
the document easier to read.
Added bars after every major section heading (to distinguish them more easily from
sub-section headings).
Renamed C front end to GCC front end, as we now support C and C++.
Updated material to reflect the new autoconf-style object root.
Added material about the llvm/runtime directory and the fact that you need to
install the GCC front end before building LLVM (before, it was optional).
llvm-svn: 9003
2003-10-10 14:26:14 +00:00
Chris Lattner
fdf472a83a
Ok, the "fix" for this is to do a real associative container. Symbol tables
...
are ordered by name, not by slot, so the previous solution wasn't any good.
On a large testcase, this reduces time to parse from 2.17s to 1.58s.
llvm-svn: 9002
2003-10-10 05:43:47 +00:00
Chris Lattner
e838773b63
Add documentation for weak variables
...
llvm-svn: 9001
2003-10-10 05:01:39 +00:00
Chris Lattner
9865db1fcb
Add support for the weak linkage specifier
...
llvm-svn: 9000
2003-10-10 04:56:26 +00:00
Chris Lattner
3cd3cb537c
new testcase. globaldce should not delete the global
...
llvm-svn: 8999
2003-10-10 04:54:23 +00:00
Chris Lattner
f4120d9a2a
Accept 'weak' as a linkage type. For now, just turn it into linkonce linkage
...
llvm-svn: 8998
2003-10-10 04:54:02 +00:00
Chris Lattner
7bfec50f74
New testcase
...
llvm-svn: 8997
2003-10-10 04:05:29 +00:00
Chris Lattner
6f8cd63693
Add better checking
...
llvm-svn: 8996
2003-10-10 03:56:01 +00:00
John Criswell
fc3d20d142
Added the eon and perlbmk benchmarks.
...
llvm-svn: 8995
2003-10-10 01:11:54 +00:00
Chris Lattner
1434d68164
Another 10% performance improvement by not using replaceAllUsesWith
...
llvm-svn: 8994
2003-10-09 23:10:14 +00:00
Chris Lattner
2ec9de30cd
Reserve space for PHI nodes when we read them in. This provides a VERY
...
tasty 15% speedup on the testcase from Bill.
llvm-svn: 8993
2003-10-09 22:46:58 +00:00
Chris Lattner
5a485c8117
Add a method to reserve space for operands
...
llvm-svn: 8992
2003-10-09 22:45:59 +00:00