Commit Graph

215 Commits

Author SHA1 Message Date
Reid Spencer 94ffa656eb Initial Makefile.am for building with automake
llvm-svn: 17073
2004-10-17 00:24:24 +00:00
Reid Spencer 3d99608cc4 Initial Makefile.am for building with automake.
llvm-svn: 17072
2004-10-17 00:20:42 +00:00
Reid Spencer c0ec7a65a6 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 76319a83bd Don't call memset if malloc returns a null pointer
llvm-svn: 16797
2004-10-06 23:08:03 +00:00
Misha Brukman 17e894523a Disable libprofile as it breaks the build on Sparc (autoconf issues).
llvm-svn: 16253
2004-09-08 20:30:26 +00:00
Reid Spencer 0ded30aec4 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 7c16caa336 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 976381e554 Do not mention Chris in public Makefiles
llvm-svn: 15591
2004-08-09 20:23:44 +00:00
Misha Brukman 265fd5dbbd Shorten comment header to 80 cols
llvm-svn: 15590
2004-08-09 20:13:14 +00:00
Misha Brukman f1c538e16e * Remove UIUC-specific comment
* Make header comment span 80 cols

llvm-svn: 15589
2004-08-09 20:07:44 +00:00
Misha Brukman a71ab1cedd Remove Chris-related bytecode-dir comment
llvm-svn: 15587
2004-08-09 19:51:49 +00:00
Chris Lattner af1ad37f3b This file is obsolete
llvm-svn: 15521
2004-08-05 17:45:32 +00:00
Chris Lattner 0d5dc010fa C++ support does not live in the C runtime any longer
llvm-svn: 15515
2004-08-05 02:28:17 +00:00
Chris Lattner fc9e8b6682 Two files are moved to libstdc++, and a NOTE gets added
llvm-svn: 15514
2004-08-05 02:27:28 +00:00
Chris Lattner 0f2aeea79c Add missing copyrights
llvm-svn: 15513
2004-08-05 00:20:51 +00:00
Chris Lattner 51f7c9e56d 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 9905a2eb63 Fix warning on 64-bit machines
llvm-svn: 14902
2004-07-16 21:40:32 +00:00
Chris Lattner c2ee70db2d Continue the implementation
llvm-svn: 13818
2004-05-27 05:51:31 +00:00
Chris Lattner f74b2868c8 A few more microsteps
llvm-svn: 13817
2004-05-27 05:51:13 +00:00
Alkis Evlogimenos 4da5264253 Eliminate warnings
llvm-svn: 13704
2004-05-23 23:02:35 +00:00
Chris Lattner 48ae330f2e Build the garbage collectors
llvm-svn: 13701
2004-05-23 21:26:29 +00:00
Chris Lattner 9656fe9cdc Initial checkin of GC implementation support files
llvm-svn: 13700
2004-05-23 21:25:59 +00:00
Chris Lattner 843cef8f3b Check in an EARLY START on a simple copying collector
llvm-svn: 13698
2004-05-23 21:25:45 +00:00
Brian Gaeke 495d9340e9 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 875d70b3c0 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 6e72e2a6e9 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 2157c9a49b Add initial implementation of basic block tracing runtime
llvm-svn: 13339
2004-05-03 23:51:50 +00:00
Brian Gaeke 417d555b6f Add basic block tracing functions as exported symbols.
llvm-svn: 13338
2004-05-03 23:49:17 +00:00
Brian Gaeke 213715bceb Add basic block tracing information as a type of "profiling" information.
llvm-svn: 13337
2004-05-03 23:49:16 +00:00
Misha Brukman 66532f5e8a Fit comment into 80 cols.
llvm-svn: 12996
2004-04-16 17:13:52 +00:00
Chris Lattner 994e48ff09 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 34fba8eb00 Reenable library now that the loopsimplify bug is fixed
llvm-svn: 12891
2004-04-13 16:24:53 +00:00
Chris Lattner 277f7e6ebc Temporary hack to get the nightly tester running
llvm-svn: 12886
2004-04-13 13:57:29 +00:00
John Criswell d2ff5cf7e8 Merged in RELEASE_12.
This fixes the zlib linking problems.

llvm-svn: 12531
2004-03-29 20:22:30 +00:00
Chris Lattner 3aa7b9d08c Make sure to get the headers from zlib correctly
llvm-svn: 12521
2004-03-26 17:04:53 +00:00
Brian Gaeke 24d24e3e5b Make sure libcrtend.a gets installed when you make install-bytecode.
llvm-svn: 12292
2004-03-11 20:55:23 +00:00
Chris Lattner 29ba1be907 Add edge profiling support to the runtime library
llvm-svn: 12227
2004-03-08 18:04:31 +00:00
Chris Lattner e8ad1347ab Build zlib and libpng
llvm-svn: 11911
2004-02-27 17:00:29 +00:00
John Criswell 81c8f2c42a Build an archive for use with Povray.
llvm-svn: 11678
2004-02-20 21:26:46 +00:00
Chris Lattner 33f9071aae Add a simple implementation of strncpy
llvm-svn: 11672
2004-02-20 20:15:47 +00:00
Chris Lattner 74b387dea1 Add strndup
llvm-svn: 11638
2004-02-19 21:44:41 +00:00
Chris Lattner 2b6d3c87a8 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 881d01f30c 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 6dc79e5d31 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 b94ff3c67c Make the initialization calls return argc.
llvm-svn: 11261
2004-02-10 17:36:25 +00:00
John Criswell 977412ca35 Initial checking of the libpng library.
llvm-svn: 11149
2004-02-06 16:37:53 +00:00
John Criswell 07720fe4fe Initial checking of the zlib library.
llvm-svn: 11148
2004-02-06 16:36:42 +00:00
Brian Gaeke 5e442bb3f1 Clean out DESTLIBBYTECODE when making clean in runtime.
llvm-svn: 11119
2004-02-04 21:40:49 +00:00
Brian Gaeke 4f4cf4b01c Add DESTDIR support for installing. Use (and depend on) $(bytecode_libdir).
llvm-svn: 10947
2004-01-21 23:57:46 +00:00
Brian Gaeke 9d7984408c Clarify comment.
llvm-svn: 10898
2004-01-16 21:13:10 +00:00
Chris Lattner 86dd6d835c Add support for people calling main recursively
llvm-svn: 10535
2003-12-19 07:51:46 +00:00
John Criswell 86a3a48697 Merged in RELEASE_11.
llvm-svn: 10516
2003-12-18 16:43:17 +00:00
Misha Brukman 91ed92fe5f Disable __attribute__((weak)) on Mac OS X and other lame platforms.
llvm-svn: 10489
2003-12-16 22:57:30 +00:00
Misha Brukman 97f451555d 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 cf657689bb 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 eaf4835c65 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 102779e12a Simplify makefiles by just explicitly listing directories
llvm-svn: 10324
2003-12-08 20:12:46 +00:00
John Criswell beb0b29871 Fixed the dynamic generation of the list of subdirectories to compile.
llvm-svn: 10322
2003-12-08 17:52:32 +00:00
Chris Lattner 0fcba7f6b3 add missing dependency
llvm-svn: 10271
2003-11-30 09:22:42 +00:00
Chris Lattner 3edb8478a4 Build _lib_crtend.a, not crtend.a
llvm-svn: 10260
2003-11-29 10:24:57 +00:00
Chris Lattner d52319f54e Don't print out tons of crap
llvm-svn: 10259
2003-11-29 10:14:17 +00:00
Chris Lattner 910c8d834e 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 46c6693781 Add readme and spiff up makefile header
llvm-svn: 10254
2003-11-29 09:22:53 +00:00
Brian Gaeke 2b00004734 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 1608115bfc Fixed word order.
llvm-svn: 9978
2003-11-13 18:03:11 +00:00
Chris Lattner 9a06c2bc25 Totally disable assert, in order to fix PR101
llvm-svn: 9818
2003-11-09 00:29:51 +00:00
Chris Lattner 78396549bc 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 3e659233aa Actually save and pass in argument information
llvm-svn: 9564
2003-10-28 22:45:25 +00:00
Chris Lattner 5b78ea3473 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 fa5846a33f Initial checkin of function and block profiling runtime library
llvm-svn: 9546
2003-10-28 18:56:51 +00:00
Misha Brukman 5014715d83 Add dummy content for libgdbm.
llvm-svn: 9344
2003-10-21 18:26:07 +00:00
Misha Brukman 1a1f2b977b Fix libm's name to be `libm'
llvm-svn: 9343
2003-10-21 18:25:37 +00:00
Misha Brukman 8719ea2732 Fix library name and fix line to fit within 80 columns.
llvm-svn: 9342
2003-10-21 18:22:34 +00:00
Chris Lattner 5382729e0c Fix strcpy implementation and trie
llvm-svn: 9338
2003-10-21 17:53:16 +00:00
John Criswell abe5cdcf21 Added LLVM copyright to Makefiles.
llvm-svn: 9314
2003-10-20 22:29:16 +00:00
John Criswell 49a9b67858 Adding additional license information to these files.
llvm-svn: 9102
2003-10-13 20:34:27 +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 b8a4ed6543 Include <cstdio> instead of <stdio.h>.
llvm-svn: 9032
2003-10-10 18:46:52 +00:00
Misha Brukman 8b2bd4ed47 Fix spelling.
llvm-svn: 9027
2003-10-10 17:57:28 +00:00
Chris Lattner ef6a55b95e Fix building outside the srcdir, again
llvm-svn: 8543
2003-09-15 19:22:36 +00:00
Chris Lattner 3e61694d43 Fix building into a different obj directory
llvm-svn: 8542
2003-09-15 19:20:11 +00:00
Chris Lattner 7cae89ec44 Whoops, remove makefile too
llvm-svn: 8533
2003-09-15 15:07:37 +00:00
Chris Lattner 44f9dd0ec5 Remove dead library, it is now folded into crtend
llvm-svn: 8532
2003-09-15 15:07:22 +00:00
Chris Lattner 6d5e3a0df3 Move the exception handling runtime stuff into this directory
llvm-svn: 8530
2003-09-15 15:06:39 +00:00
Chris Lattner 8266b4c548 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 e4e1a8a8a4 initial checkin of SJLJ exception handling runtime
llvm-svn: 8235
2003-08-30 23:29:22 +00:00
Chris Lattner ea40ebf1a2 Rename LongJmpException -> SJLJException
llvm-svn: 8234
2003-08-30 23:29:08 +00:00
Chris Lattner 20e7232ffc we don't need this here
llvm-svn: 8233
2003-08-30 23:18:07 +00:00
Chris Lattner 8d907494b4 Move language independent exception handling routines OUT of C++Exception.cpp
llvm-svn: 8232
2003-08-30 23:17:51 +00:00
Chris Lattner b14d0b0f3b File was renamed
llvm-svn: 8231
2003-08-30 22:48:16 +00:00
Chris Lattner 79b81bffa1 Rename files to be capitalized now that they are C++
llvm-svn: 8230
2003-08-30 22:47:59 +00:00
Chris Lattner 304225d34d Initial checkin of the SJLJ EH interface
llvm-svn: 8229
2003-08-30 22:36:52 +00:00
Misha Brukman b65f6de5aa Added a dummy version of libcurses.
llvm-svn: 8222
2003-08-29 18:13:52 +00:00
Misha Brukman 7d872c98c0 Added dummy termcap library.
llvm-svn: 8221
2003-08-29 18:09:46 +00:00
Chris Lattner 4f08308b9c * 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 7234208d6c Convert C comments to C++
llvm-svn: 8172
2003-08-28 14:43:36 +00:00
Chris Lattner 3926a8329e New wrapper around the terminate call.
llvm-svn: 8171
2003-08-28 14:35:52 +00:00
Chris Lattner 1c725dda63 Squelch warning
llvm-svn: 8170
2003-08-28 14:35:12 +00:00
Chris Lattner 9dddce6864 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 83921b4dc6 Be more type-safe, add throw specs to all functions
llvm-svn: 8168
2003-08-27 22:59:15 +00:00