1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
Commit Graph

314 Commits

Author SHA1 Message Date
Reid Spencer
cb0f00e69b Initial Makefile.am for building with automake.
llvm-svn: 17072
2004-10-17 00:20:42 +00:00
Reid Spencer
56f93e24a5 Make sure that for systems where the string functions are actually macros
that we undefine the macro before using its name in the definition. This
can happen on Linux if _GNU_SOURCE is defined.

llvm-svn: 17071
2004-10-17 00:17:54 +00:00
Chris Lattner
6211fd3b08 Don't call memset if malloc returns a null pointer
llvm-svn: 16797
2004-10-06 23:08:03 +00:00
Misha Brukman
871d4475a9 Disable libprofile as it breaks the build on Sparc (autoconf issues).
llvm-svn: 16253
2004-09-08 20:30:26 +00:00
Reid Spencer
d5b1443205 Clean up some "clean:" targets so they use $(VERB) and don't print anything
by default, like every other "clean" target in LLVM.

llvm-svn: 16161
2004-09-03 23:19:53 +00:00
Reid Spencer
c4abcbefb1 Changes For Bug 352
Move include/Config and include/Support into include/llvm/Config,
include/llvm/ADT and include/llvm/Support. From here on out, all LLVM
public header files must be under include/llvm/.

llvm-svn: 16137
2004-09-01 22:55:40 +00:00
Misha Brukman
864bf611c6 Do not mention Chris in public Makefiles
llvm-svn: 15591
2004-08-09 20:23:44 +00:00
Misha Brukman
64e8914d46 Shorten comment header to 80 cols
llvm-svn: 15590
2004-08-09 20:13:14 +00:00
Misha Brukman
f17131571f * Remove UIUC-specific comment
* Make header comment span 80 cols

llvm-svn: 15589
2004-08-09 20:07:44 +00:00
Misha Brukman
f89455f72a Remove Chris-related bytecode-dir comment
llvm-svn: 15587
2004-08-09 19:51:49 +00:00
Chris Lattner
b45f75c674 This file is obsolete
llvm-svn: 15521
2004-08-05 17:45:32 +00:00
Chris Lattner
c1830c50ec C++ support does not live in the C runtime any longer
llvm-svn: 15515
2004-08-05 02:28:17 +00:00
Chris Lattner
dd605927d9 Two files are moved to libstdc++, and a NOTE gets added
llvm-svn: 15514
2004-08-05 02:27:28 +00:00
Chris Lattner
472637ce3a Add missing copyrights
llvm-svn: 15513
2004-08-05 00:20:51 +00:00
Chris Lattner
7b301dfa9d Update GC intrinsics to take a pointer to the object as well as a pointer
to the field being updated.  Patch contributed by Tobias Nurmiranta

llvm-svn: 15097
2004-07-22 05:51:13 +00:00
Brian Gaeke
2290ace94a Fix warning on 64-bit machines
llvm-svn: 14902
2004-07-16 21:40:32 +00:00
Chris Lattner
2200720a89 Continue the implementation
llvm-svn: 13818
2004-05-27 05:51:31 +00:00
Chris Lattner
695ca18c95 A few more microsteps
llvm-svn: 13817
2004-05-27 05:51:13 +00:00
Alkis Evlogimenos
1790a73dc5 Eliminate warnings
llvm-svn: 13704
2004-05-23 23:02:35 +00:00
Chris Lattner
87cf9f79dc Build the garbage collectors
llvm-svn: 13701
2004-05-23 21:26:29 +00:00
Chris Lattner
71890fd358 Initial checkin of GC implementation support files
llvm-svn: 13700
2004-05-23 21:25:59 +00:00
Chris Lattner
74d7e65df6 Check in an EARLY START on a simple copying collector
llvm-svn: 13698
2004-05-23 21:25:45 +00:00
Brian Gaeke
c30f79d8f4 Share the profile info type enum with the C++ analysis libraries.
Add a documentation comment for write_profiling_data().

llvm-svn: 13345
2004-05-04 16:51:48 +00:00
Brian Gaeke
2690f648c6 Constants for profile info type changed names to match the C++ ones.
llvm-svn: 13344
2004-05-04 16:51:47 +00:00
Brian Gaeke
b2d9d71730 Constants for profile info type changed names to match the C++ ones.
Edited comments.

llvm-svn: 13343
2004-05-04 16:51:46 +00:00
Brian Gaeke
6b569a35ba Add initial implementation of basic block tracing runtime
llvm-svn: 13339
2004-05-03 23:51:50 +00:00
Brian Gaeke
581652e2e1 Add basic block tracing functions as exported symbols.
llvm-svn: 13338
2004-05-03 23:49:17 +00:00
Brian Gaeke
0f806b8509 Add basic block tracing information as a type of "profiling" information.
llvm-svn: 13337
2004-05-03 23:49:16 +00:00
Misha Brukman
a2cc39ff28 Fit comment into 80 cols.
llvm-svn: 12996
2004-04-16 17:13:52 +00:00
Chris Lattner
a6f2680e2d Remove libraries that have no reason to be here, and keep breaking the nightly tester because their makefiles do not have the right dependencies!!
llvm-svn: 12981
2004-04-16 14:12:36 +00:00
Chris Lattner
c85541fa70 Reenable library now that the loopsimplify bug is fixed
llvm-svn: 12891
2004-04-13 16:24:53 +00:00
Chris Lattner
c0fa7b5d9d Temporary hack to get the nightly tester running
llvm-svn: 12886
2004-04-13 13:57:29 +00:00
John Criswell
f1690fc8cb Merged in RELEASE_12.
This fixes the zlib linking problems.

llvm-svn: 12531
2004-03-29 20:22:30 +00:00
Chris Lattner
10669f3dc3 Make sure to get the headers from zlib correctly
llvm-svn: 12521
2004-03-26 17:04:53 +00:00
Brian Gaeke
74b256ee41 Make sure libcrtend.a gets installed when you make install-bytecode.
llvm-svn: 12292
2004-03-11 20:55:23 +00:00
Chris Lattner
6183fae972 Add edge profiling support to the runtime library
llvm-svn: 12227
2004-03-08 18:04:31 +00:00
Chris Lattner
a2a6d14515 Build zlib and libpng
llvm-svn: 11911
2004-02-27 17:00:29 +00:00
John Criswell
ce9b18b773 Build an archive for use with Povray.
llvm-svn: 11678
2004-02-20 21:26:46 +00:00
Chris Lattner
5b22f55e54 Add a simple implementation of strncpy
llvm-svn: 11672
2004-02-20 20:15:47 +00:00
Chris Lattner
85d76cb3d5 Add strndup
llvm-svn: 11638
2004-02-19 21:44:41 +00:00
Chris Lattner
f2b699b98b Since tail duplication is currently neutered, we have to help the optimizer to remove the overhead of __main
llvm-svn: 11561
2004-02-17 18:45:06 +00:00
Chris Lattner
482511755f Make sure to copy the null terminator at the end of the argv list. Some
programs use it instead of argc.

llvm-svn: 11270
2004-02-10 19:14:44 +00:00
Chris Lattner
fc7adc3cc0 Allow the program to take a '-llvmprof-output filename' option to specify
where to output the profiling data, if llvmprof.out is not good enough.

llvm-svn: 11264
2004-02-10 18:01:00 +00:00
Chris Lattner
433873fbeb Make the initialization calls return argc.
llvm-svn: 11261
2004-02-10 17:36:25 +00:00
John Criswell
f41e0df660 Initial checking of the libpng library.
llvm-svn: 11149
2004-02-06 16:37:53 +00:00
John Criswell
90c2c2b04c Initial checking of the zlib library.
llvm-svn: 11148
2004-02-06 16:36:42 +00:00
Brian Gaeke
e2578a8512 Clean out DESTLIBBYTECODE when making clean in runtime.
llvm-svn: 11119
2004-02-04 21:40:49 +00:00
Brian Gaeke
3c863c8fdf Add DESTDIR support for installing. Use (and depend on) $(bytecode_libdir).
llvm-svn: 10947
2004-01-21 23:57:46 +00:00
Brian Gaeke
448e89cd43 Clarify comment.
llvm-svn: 10898
2004-01-16 21:13:10 +00:00
Chris Lattner
b46031d8db Add support for people calling main recursively
llvm-svn: 10535
2003-12-19 07:51:46 +00:00
John Criswell
0659bb0c4a Merged in RELEASE_11.
llvm-svn: 10516
2003-12-18 16:43:17 +00:00
Misha Brukman
dbedab0d6d Disable __attribute__((weak)) on Mac OS X and other lame platforms.
llvm-svn: 10489
2003-12-16 22:57:30 +00:00
Misha Brukman
94364aa87d Make all memory functions have weak linkage so that they can be overridden with
custom memory-management implementations (e.g., bash).

llvm-svn: 10478
2003-12-15 22:32:50 +00:00
John Criswell
895dd78652 Removed the pthread_once() function because it doesn't actually do
what it's supposed to do.
Just leave this library as a dummy library for now until we have time to
port a real pthread library (or get glibc working).

llvm-svn: 10368
2003-12-10 15:43:07 +00:00
John Criswell
d073529d65 Dummy implementation of the pthread library.
This is needed since libstdc++ uses pthread_once().

llvm-svn: 10360
2003-12-10 14:46:36 +00:00
Chris Lattner
254c586cf6 Simplify makefiles by just explicitly listing directories
llvm-svn: 10324
2003-12-08 20:12:46 +00:00
John Criswell
ffbffee282 Fixed the dynamic generation of the list of subdirectories to compile.
llvm-svn: 10322
2003-12-08 17:52:32 +00:00
Chris Lattner
29b5b60a61 add missing dependency
llvm-svn: 10271
2003-11-30 09:22:42 +00:00
Chris Lattner
c535e531cb Build _lib_crtend.a, not crtend.a
llvm-svn: 10260
2003-11-29 10:24:57 +00:00
Chris Lattner
b036d157f0 Don't print out tons of crap
llvm-svn: 10259
2003-11-29 10:14:17 +00:00
Chris Lattner
fa330fae28 Rewrite makefile logic to build an archive instead of a .o file. This is
intended to address PR142

llvm-svn: 10257
2003-11-29 10:05:30 +00:00
Chris Lattner
5535433ea7 Add readme and spiff up makefile header
llvm-svn: 10254
2003-11-29 09:22:53 +00:00
Brian Gaeke
da01c6f5c9 As per PR96, don't build subdirs if LLVMGCCDIR is not set to something
reasonable, instead, print out a "LOUD warning".

llvm-svn: 10023
2003-11-16 06:51:53 +00:00
Misha Brukman
284a9660f4 Fixed word order.
llvm-svn: 9978
2003-11-13 18:03:11 +00:00
Chris Lattner
f242c51fb0 Totally disable assert, in order to fix PR101
llvm-svn: 9818
2003-11-09 00:29:51 +00:00
Chris Lattner
a4c047dacb Fix wierd problems linking C programs which look for symbols in libstdc++.
This was due to the 'assert' macro expanding into a function call on some
platforms which could throw.  The C++ compiler then added checks for the
exception specifications in these functions, which pulled in the C++ runtime.
This was bad, and the assertions can never fire (the library is now debugged)
so just remove them.

llvm-svn: 9801
2003-11-08 05:13:40 +00:00
Chris Lattner
64c9e919c1 Actually save and pass in argument information
llvm-svn: 9564
2003-10-28 22:45:25 +00:00
Chris Lattner
40f9932105 We need to output the number of records we have, so we know how many to read in! Doh.
llvm-svn: 9555
2003-10-28 19:35:56 +00:00
Chris Lattner
22b6ea1894 Initial checkin of function and block profiling runtime library
llvm-svn: 9546
2003-10-28 18:56:51 +00:00
Misha Brukman
8fb7549570 Add dummy content for libgdbm.
llvm-svn: 9344
2003-10-21 18:26:07 +00:00
Misha Brukman
eeb15a5451 Fix libm's name to be `libm'
llvm-svn: 9343
2003-10-21 18:25:37 +00:00
Misha Brukman
039d285e63 Fix library name and fix line to fit within 80 columns.
llvm-svn: 9342
2003-10-21 18:22:34 +00:00
Chris Lattner
10beed4236 Fix strcpy implementation and trie
llvm-svn: 9338
2003-10-21 17:53:16 +00:00
John Criswell
a8dfda0513 Added LLVM copyright to Makefiles.
llvm-svn: 9314
2003-10-20 22:29:16 +00:00
John Criswell
1cee7eb4a6 Adding additional license information to these files.
llvm-svn: 9102
2003-10-13 20:34:27 +00:00
Chris Lattner
58fc2b3a5b 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
e5249bf429 Include <cstdio> instead of <stdio.h>.
llvm-svn: 9032
2003-10-10 18:46:52 +00:00
Misha Brukman
868eac95dd Fix spelling.
llvm-svn: 9027
2003-10-10 17:57:28 +00:00
Chris Lattner
d29fa02415 Fix building outside the srcdir, again
llvm-svn: 8543
2003-09-15 19:22:36 +00:00
Chris Lattner
ee0d887088 Fix building into a different obj directory
llvm-svn: 8542
2003-09-15 19:20:11 +00:00
Chris Lattner
ac363f45dc Whoops, remove makefile too
llvm-svn: 8533
2003-09-15 15:07:37 +00:00
Chris Lattner
d530c260fb Remove dead library, it is now folded into crtend
llvm-svn: 8532
2003-09-15 15:07:22 +00:00
Chris Lattner
6c76d63f28 Move the exception handling runtime stuff into this directory
llvm-svn: 8530
2003-09-15 15:06:39 +00:00
Chris Lattner
114046d270 Urg, forgot to add a file header somehow.
Add missing function comments

llvm-svn: 8236
2003-08-30 23:31:08 +00:00
Chris Lattner
be8e6ccec2 initial checkin of SJLJ exception handling runtime
llvm-svn: 8235
2003-08-30 23:29:22 +00:00
Chris Lattner
b1af6c0f6e Rename LongJmpException -> SJLJException
llvm-svn: 8234
2003-08-30 23:29:08 +00:00
Chris Lattner
3779c373ca we don't need this here
llvm-svn: 8233
2003-08-30 23:18:07 +00:00
Chris Lattner
7ad1509544 Move language independent exception handling routines OUT of C++Exception.cpp
llvm-svn: 8232
2003-08-30 23:17:51 +00:00
Chris Lattner
b8e5e8d0cb File was renamed
llvm-svn: 8231
2003-08-30 22:48:16 +00:00
Chris Lattner
31c73f0155 Rename files to be capitalized now that they are C++
llvm-svn: 8230
2003-08-30 22:47:59 +00:00
Chris Lattner
53dc86cf3f Initial checkin of the SJLJ EH interface
llvm-svn: 8229
2003-08-30 22:36:52 +00:00
Misha Brukman
3a2120f3c3 Added a dummy version of libcurses.
llvm-svn: 8222
2003-08-29 18:13:52 +00:00
Misha Brukman
2149ea7e72 Added dummy termcap library.
llvm-svn: 8221
2003-08-29 18:09:46 +00:00
Chris Lattner
2e81f1ee04 * Add proper support for rethrown exceptions.
* Make catch_begin() produce a pointer that must be passed to catch_end()
* Eliminate the caught exception stack.
* Add optional debugging code that may be turned on.

llvm-svn: 8184
2003-08-28 19:58:51 +00:00
Chris Lattner
33bd46671e Convert C comments to C++
llvm-svn: 8172
2003-08-28 14:43:36 +00:00
Chris Lattner
60a688a8bb New wrapper around the terminate call.
llvm-svn: 8171
2003-08-28 14:35:52 +00:00
Chris Lattner
f2600ee2da Squelch warning
llvm-svn: 8170
2003-08-28 14:35:12 +00:00
Chris Lattner
0177746b4a Be more typesafe
Call terminate and unexpected where appropriate.
Interface to libstdc++ as appropriate
Initial cut at implementing function exception specifications

llvm-svn: 8169
2003-08-27 23:00:11 +00:00
Chris Lattner
4017f7ccd7 Be more type-safe, add throw specs to all functions
llvm-svn: 8168
2003-08-27 22:59:15 +00:00
Chris Lattner
2e1c6a7abf Add throw specs to the functions, remove (void) from the functions
llvm-svn: 8167
2003-08-27 22:58:51 +00:00
Chris Lattner
9a51349ec0 Hack out libexception temporarily until the Sparc FE is improved
llvm-svn: 8166
2003-08-27 22:18:23 +00:00
Chris Lattner
acfc68a7ff Fix several _killer_ bugs. This now actually WORKS for really complex testcases :)
llvm-svn: 8157
2003-08-27 04:51:26 +00:00
Chris Lattner
c0e4701fe1 C++ify, add new get_cxx_exception function to convert from generic llvm_exceptions to llvm_cxx_exception's
llvm-svn: 8156
2003-08-27 04:50:45 +00:00
Chris Lattner
a750427a2b Remove Cisms. We love C++
llvm-svn: 8155
2003-08-27 04:50:12 +00:00
Chris Lattner
6ad38aa175 Add new __llvm_cxxeh_begin_catch_if_isa function, change C -> C++ comments
llvm-svn: 8150
2003-08-26 23:46:53 +00:00
Chris Lattner
51336798c8 Remove copy-and-paste gunk
llvm-svn: 8147
2003-08-25 22:37:04 +00:00
Chris Lattner
c79d3fbabf Initial checking of C++ exception handling library
llvm-svn: 8146
2003-08-25 22:35:36 +00:00
Misha Brukman
e2a6359bb2 Added dummy version of the `util' library.
llvm-svn: 7995
2003-08-20 21:44:04 +00:00
Misha Brukman
9de8f6b505 Added dummy library `libutempter' for non-privileged access to utmp/wtmp data.
llvm-svn: 7994
2003-08-20 21:42:01 +00:00
Chris Lattner
e048d1b468 This really isn't the gcc library!
llvm-svn: 7917
2003-08-17 18:37:45 +00:00
Chris Lattner
6393ff6e14 Adjust level, build things in parallel
llvm-svn: 7863
2003-08-15 02:38:18 +00:00
Chris Lattner
4312264c54 initial checkin, adjust LEVEL
llvm-svn: 7862
2003-08-15 02:38:06 +00:00
Chris Lattner
4f9c81206b Initial checkin of README
llvm-svn: 7861
2003-08-15 02:35:13 +00:00
Chris Lattner
78b2442ec4 Initial checkin of runtime/GCCLibraries makefile
llvm-svn: 7860
2003-08-15 02:33:49 +00:00
Chris Lattner
7845332a36 Update readme
llvm-svn: 7859
2003-08-15 02:31:23 +00:00
Chris Lattner
8f04dc7f67 Convert libraries into the BYTECODE_LIBRARY style
llvm-svn: 7858
2003-08-15 02:20:32 +00:00
Chris Lattner
6eb7e540eb Disable this library for now
llvm-svn: 7857
2003-08-15 02:19:43 +00:00
Chris Lattner
42b2865d4e Disable this support stuff, it doesn't work under linux anyway
llvm-svn: 7849
2003-08-14 20:55:38 +00:00
John Criswell
64631c7abe Removing the pool allocator from the main CVS tree.
Use the poolalloc module in CVS from now on.

llvm-svn: 7810
2003-08-13 15:36:15 +00:00
Sumant Kowshik
08652ac113 Minor fix so that the program exits upon a poolfree failure
llvm-svn: 7762
2003-08-12 00:43:23 +00:00
Sumant Kowshik
9c8d0b55e0 Change implementation so that variable sized slabs are used to allow arbitrary sized array allocations
llvm-svn: 7663
2003-08-07 05:31:04 +00:00
Vikram S. Adve
4761eb23fd 1. Make table size prime -- improves hashing performance vastly.
2. Reduce #hashes from 2 to 1 for initial inserts.
3. Fix incorrect assertion from last checkin.

llvm-svn: 7417
2003-07-30 12:49:25 +00:00
Vikram S. Adve
fe15c01e24 Bug fix: after reallocating the hash table, we have to re-insert each value
instead of copying table entries!

llvm-svn: 7396
2003-07-29 20:01:01 +00:00
Chris Lattner
ac8e9ebce9 Remove unneccesary #ifdefs
llvm-svn: 7214
2003-07-21 19:23:31 +00:00
Chris Lattner
425abc04ab Fix warnings
llvm-svn: 7213
2003-07-21 19:20:44 +00:00
Vikram S. Adve
f6d22acc22 Use uint32_t for table index and size: table will never be > 4GB.
Also, make Pointer type depend on architecture.

llvm-svn: 7170
2003-07-11 22:02:28 +00:00
Vikram S. Adve
a23754ed38 Pointer hash table reallocation code seems never to have been tested!
Unfortunately, reallocation also means that the pointer numbering will
change, so increase table size to try to avoid it.

llvm-svn: 7130
2003-07-08 18:42:44 +00:00
Vikram S. Adve
bb4677de1e Native libraries (libinstr*.a) should not have been taken out when
taking out the rule for compiling the test driver.
We need the native libraries for libinstr because they are directly
linked into the native CBE or LLC code.  That is the only practical
way to debug them!

llvm-svn: 7129
2003-07-08 18:40:58 +00:00
Sumant Kowshik
b1a109f9e9 Added support for poolallocarray and poolmakeunfreeable. The latter is used by the SAFECode project
llvm-svn: 7102
2003-07-03 17:55:47 +00:00
Chris Lattner
d99475d41a Don't register the destructors if the list is empty
llvm-svn: 6909
2003-06-26 04:20:38 +00:00
Joel Stanley
81aa4149c0 Prevented inclusion of (non-existent) stdint.h on Sparc.
llvm-svn: 6876
2003-06-24 02:46:47 +00:00
Misha Brukman
7b26d58686 Prevent lines from wrapping.
llvm-svn: 6419
2003-05-29 22:12:35 +00:00
Chris Lattner
76958109b3 Initial checkin
llvm-svn: 6414
2003-05-29 20:24:54 +00:00
Chris Lattner
1f291722b2 Run more post-link xforms
llvm-svn: 6400
2003-05-29 15:16:45 +00:00
Chris Lattner
f08e569e7d Update to match the reality that is now.
llvm-svn: 6362
2003-05-27 21:43:14 +00:00
Chris Lattner
f8e93a7026 add support for an explicit EXPORTED_SYMBOL_LIST
llvm-svn: 6296
2003-05-22 20:27:30 +00:00
Chris Lattner
95a6a0aaed Specify a list of symbols that should be exported by the library
llvm-svn: 6290
2003-05-22 19:50:30 +00:00
Chris Lattner
eec3d84e72 Update to match typename produced by the C frontend
llvm-svn: 6287
2003-05-22 19:30:11 +00:00
Chris Lattner
ae45cc55c4 Dead file
llvm-svn: 6189
2003-05-14 13:10:18 +00:00
Chris Lattner
44d2fa762a Minor updates
llvm-svn: 6188
2003-05-14 13:09:57 +00:00
Chris Lattner
2476986342 Initial checkin of crtend.o implementation
llvm-svn: 6187
2003-05-14 13:09:41 +00:00
Chris Lattner
07b8575e57 New file
llvm-svn: 6186
2003-05-14 12:40:20 +00:00
Chris Lattner
876f0342b4 Remove support for memset
llvm-svn: 5599
2003-02-18 20:42:15 +00:00
Chris Lattner
adb111cdfe Add lots of functions
llvm-svn: 5598
2003-02-18 20:42:07 +00:00
Chris Lattner
06bfa524c1 Implement more functions
llvm-svn: 5538
2003-02-11 23:12:23 +00:00
Chris Lattner
1fa5e51461 Implement feof and xmalloc
llvm-svn: 5478
2003-02-03 19:12:38 +00:00
Chris Lattner
45c0f94256 Add a bunch more stubs
llvm-svn: 5459
2003-02-01 04:51:12 +00:00
Chris Lattner
e40d684a50 Initial checkin of pool allocator library
llvm-svn: 5429
2003-01-29 18:38:11 +00:00
Chris Lattner
030f0c3762 Initial checkin of dummylib
llvm-svn: 5357
2003-01-17 19:09:29 +00:00
Chris Lattner
ee05a7d01c fix path
llvm-svn: 4636
2002-11-08 21:29:22 +00:00
Chris Lattner
b49c5bca1b Add note about what this is
llvm-svn: 4581
2002-11-06 20:58:26 +00:00
Chris Lattner
8795611a6d Pass renamed
llvm-svn: 3141
2002-07-30 00:53:26 +00:00
Chris Lattner
3a889be674 Fixes to be LP64 correct
llvm-svn: 2950
2002-07-18 00:15:29 +00:00
Chris Lattner
5349ba3178 Allow libraries to specify other libraries to link to
llvm-svn: 2678
2002-05-20 21:45:44 +00:00
Chris Lattner
37ced9a9de Tracelib is now an LLVM library just like all other libraries in this
directory.

If the test code needs to be resurrected in the future, it should be moved
into the test/Programs directory, linking with tracelib.

llvm-svn: 2672
2002-05-20 21:16:19 +00:00
Chris Lattner
284fbfcbf9 * If hashing a pointer, cast it to a 64 bit number so gcc doesn't warn
* Don't put extra stuff after #endif

llvm-svn: 2671
2002-05-20 21:15:30 +00:00
Chris Lattner
69f8e162eb Implement the printf function, used by assert
llvm-svn: 2666
2002-05-20 19:11:23 +00:00
Vikram S. Adve
8ebcebf6f9 Runtime routines to support tracing.
Currently includes code to hash pointers to sequence numbers.
The hash table should be separated out into a separate file
since that is generic.  The rest of this code is pretty small.

llvm-svn: 2655
2002-05-19 15:49:58 +00:00
Chris Lattner
28cae4bbd9 Remove compilation of __main because we now link -lgcc into programs
llvm-svn: 1947
2002-03-22 19:13:47 +00:00
Vikram S. Adve
428665864f Need rule for runtime.o. This is just temporary to provide
ll__main so that llc output can link.

llvm-svn: 1913
2002-03-18 04:04:25 +00:00
Chris Lattner
5b625388e6 Add strcat function
llvm-svn: 1847
2002-03-11 17:46:50 +00:00
Chris Lattner
a111bee74b Checkin library infrastructure for building stuff to be linked with
gccld

llvm-svn: 1842
2002-03-08 23:20:52 +00:00
Chris Lattner
25838a86df Add a clean target stub
llvm-svn: 1818
2002-02-26 21:48:24 +00:00
Chris Lattner
c66e1aa9b5 Initial checkin of Makefile, just a dummy file for now.
llvm-svn: 1566
2002-01-23 19:57:59 +00:00