Reid Spencer
33189e787b
Simplify the sys::Memory interface per Chris' request.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16318 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-13 22:38:11 +00:00
Reid Spencer
2565943289
Clean up the interface and implementation of sys::Program so that it is
...
cleanly dissociated from the sys::Path class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16315 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-13 21:48:44 +00:00
Chris Lattner
1002013ed3
Changes to make this work with Jason's patch. I checked this by hand, but
...
would appreciate if others would also look at this to make sure I didn't
botch something obvious
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16312 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-13 21:32:03 +00:00
Reid Spencer
14c225e6f6
Change banner name to reflect actual program this Makefile is for.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16311 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-13 21:15:19 +00:00
Reid Spencer
6dd3713be5
Get rid of compile warning by having llvmExecve return the result of its
...
call to executeProgram.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16306 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-13 15:37:33 +00:00
Reid Spencer
c0af3f0052
Initial implementation of llvm-ld: stolen from gccld.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16305 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-13 01:27:53 +00:00
Misha Brukman
247384c041
Add LLEE into compilation, but not for Sparc
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16304 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-13 01:18:30 +00:00
Reid Spencer
dccc01eb61
Excise the -L option since llvm-link should not do library searches. It
...
just links bytecode files together.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16303 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-12 23:39:42 +00:00
Reid Spencer
a2dfd05d84
Excise dependent library linking at Chris' request. llvm-link is intended
...
to provide only the simplest linking of LLVM modules without trying to be
complete. Dependent library linking will be added to gccld or its successor
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16302 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-12 23:08:29 +00:00
Misha Brukman
a6bcd83854
Squelch compilation warnings on Sparc
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16301 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-12 23:01:24 +00:00
Misha Brukman
27bdcd8b57
* Fix grammar
...
* Convert tabs to spaces
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16300 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-12 22:40:40 +00:00
Misha Brukman
fb0796e82e
Fix filename: Printer.cpp has become X86AsmPrinter.cpp
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16299 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-12 21:26:04 +00:00
Misha Brukman
5adf0ca0b2
Unbreak doxygen, according to Reid.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16298 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-12 20:56:38 +00:00
Misha Brukman
7df0074db5
Fix code spacing/alignment
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16297 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-12 20:47:33 +00:00
Reid Spencer
70e2d38361
Fix the replace method to assert if an item was erased from the set but not
...
found in the vector. Previously, it just ignored this condition.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16296 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-11 20:38:25 +00:00
Reid Spencer
66e7cd0eea
Correct the file header to reflect the new "examples" home for the file.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16295 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-11 20:30:11 +00:00
Reid Spencer
714470716f
Fix typo: sterror -> strerror
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16294 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-11 20:18:08 +00:00
Reid Spencer
f51c8ea9de
Correct the dynamic lib suffix on Darwin.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16293 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-11 07:35:01 +00:00
Reid Spencer
cbad701d0b
Provide initial implementations of Memory and Process concepts for various
...
platforms.
Implement GetLLVMSuffix function for the Path concept.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16292 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-11 04:59:30 +00:00
Reid Spencer
41b21bf2fc
Provide a generic Unix implementation of the Memory concept.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16291 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-11 04:57:25 +00:00
Reid Spencer
27dafe1f3e
Provide a generic unix implementation of the Process abstraction.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16290 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-11 04:56:56 +00:00
Reid Spencer
1b554b4583
Implemented support for detecting file types by magic number, stripping
...
path and suffix to leave basename, and getting the DLL suffix.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16289 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-11 04:55:08 +00:00
Reid Spencer
4429b2c7fc
Implementation of Process concept for SUSv2 platforms.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16288 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-11 04:54:06 +00:00
Reid Spencer
6939f8141c
Implement dependent library processing and search paths for them.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16287 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-11 04:32:42 +00:00
Reid Spencer
52b0ba6873
Convert the Emitter to use the lib/System "Memory" interface instead of the
...
old SystemUtils.h interface to allocate RWX blocks of memory.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16286 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-11 04:31:03 +00:00
Reid Spencer
86e5aef1ce
Add library LLVMsystem.a because the JIT now needs it.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16285 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-11 04:29:44 +00:00
Reid Spencer
9cab9e51bb
Correct the interface of a function to use the correct typedef for an
...
argument so that it will always compile.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16284 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-11 04:29:13 +00:00
Reid Spencer
0bdc620c16
Implement the remove method for deleting entries from the SetVector.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16283 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-11 04:25:58 +00:00
Reid Spencer
57a0efa322
Implement support for dependent libraries. The "source" module's dependent
...
libraries list is merged into the "destination" module's list. Also, if the
source module is one of the dependent libraries, it is removed from the
list.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16282 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-11 04:25:17 +00:00
Reid Spencer
46a981c3e2
Change interface to use correct typedef so it will always compile.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16281 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-11 04:22:58 +00:00
Reid Spencer
249403f5fa
Make the dependent libraries list use a SetVector instead of a regular
...
vector so that duplicate libraries never occur within a module.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16280 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-11 04:22:14 +00:00
Reid Spencer
e5d6ca43d7
Initial commit of a file to declare the interface for platform independent
...
support for various memory allocation operations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16279 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-11 04:20:58 +00:00
Reid Spencer
e6a10cf518
Add methods for detecting file types by magic number, getting the file name
...
suffix for shared objects, and stripping a path down to its base name.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16278 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-11 04:19:17 +00:00
Reid Spencer
e38001f6c6
Add methods for detecting different kinds of files by their magic number,
...
getting the suffix for shared objects, and extracting the basename from a
path.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16277 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-11 04:18:05 +00:00
Reid Spencer
1694eec4af
Use llvm-link to link the .bc with testing.bc. This helps test the new
...
llvm-link dependent libraries feature.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16276 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-11 04:15:09 +00:00
Reid Spencer
3ee8eed034
Print the dependent libraries when dumping bytecode.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16275 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-11 04:14:07 +00:00
Brian Gaeke
8bb825067f
Update to latest versions of config.guess and config.sub from
...
http://savannah.gnu.org/projects/config
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16268 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-10 19:20:06 +00:00
Misha Brukman
bcb5562a5e
Renamed file to SparcV8ISelSimple.cpp
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16267 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-10 18:51:12 +00:00
Brian Gaeke
fd23c4e9bc
Roll back constant printing changes until the problems with larger
...
programs and C++ can be looked at in detail.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16266 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-10 18:01:45 +00:00
Alkis Evlogimenos
cad90ad162
Add assertion descriptiosn on type mismatches when creating
...
ConstantArray and ConstantPacked objects.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16261 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-10 04:16:59 +00:00
Misha Brukman
24fdc1d1df
Fix broken internal links (one found by seventwentyfour.com spider)
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16260 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-09 20:34:13 +00:00
Alkis Evlogimenos
2c4f7b5faa
Grow the map on entry so that we don't crash if joinIntervals never
...
runs (if coalescing is disabled for example).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16259 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-09 19:24:38 +00:00
Misha Brukman
1739aec9e1
If updating from CVS gives error "No rule to make target", it's faster to just
...
delete .d files than to rebuild from scratch.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16258 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-09 16:36:47 +00:00
Misha Brukman
d54fe679c9
Fix broken link to the 2004 CGO paper.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16257 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-09 16:18:40 +00:00
Chris Lattner
8018a665b2
Add missing #include
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16256 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-09 02:37:56 +00:00
Brian Gaeke
0a62133bd3
Regenerated, to recognize mingw.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16255 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-08 20:38:05 +00:00
Brian Gaeke
2f686dbc56
recognize MinGW
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16254 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-08 20:32:11 +00:00
Misha Brukman
6f22256a38
Disable libprofile as it breaks the build on Sparc (autoconf issues).
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16253 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-08 20:30:26 +00:00
Misha Brukman
ac09e25b58
Make file comment span the entire line
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16249 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-08 19:48:15 +00:00
Alkis Evlogimenos
93c1ab2e15
Use a shorter form to express implicit use/defs in FpGETRESULT and
...
FpSETRESULT.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16247 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-08 18:29:31 +00:00