Commit Graph

208 Commits

Author SHA1 Message Date
Misha Brukman
171b59d2d6 Do not mention Chris in public Makefiles
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15591 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-09 20:23:44 +00:00
Misha Brukman
bb739ddeff Shorten comment header to 80 cols
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15590 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-09 20:13:14 +00:00
Misha Brukman
1757ae991f * Remove UIUC-specific comment
* Make header comment span 80 cols


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15589 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-09 20:07:44 +00:00
Misha Brukman
a6d8ab3f9d Remove Chris-related bytecode-dir comment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15587 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-09 19:51:49 +00:00
Chris Lattner
42b70f30fb This file is obsolete
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15521 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-05 17:45:32 +00:00
Chris Lattner
14f7a50a5f C++ support does not live in the C runtime any longer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15515 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-05 02:28:17 +00:00
Chris Lattner
d4d02bc925 Two files are moved to libstdc++, and a NOTE gets added
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15514 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-05 02:27:28 +00:00
Chris Lattner
45872bfd83 Add missing copyrights
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15513 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-05 00:20:51 +00:00
Chris Lattner
93c9587fbb 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


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15097 91177308-0d34-0410-b5e6-96231b3b80d8
2004-07-22 05:51:13 +00:00
Brian Gaeke
66291f39be Fix warning on 64-bit machines
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14902 91177308-0d34-0410-b5e6-96231b3b80d8
2004-07-16 21:40:32 +00:00
Chris Lattner
9772629794 Continue the implementation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13818 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-27 05:51:31 +00:00
Chris Lattner
a2f45b2802 A few more microsteps
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13817 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-27 05:51:13 +00:00
Alkis Evlogimenos
86f238230b Eliminate warnings
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13704 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-23 23:02:35 +00:00
Chris Lattner
8ad864ab14 Build the garbage collectors
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13701 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-23 21:26:29 +00:00
Chris Lattner
e6fd7762c5 Initial checkin of GC implementation support files
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13700 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-23 21:25:59 +00:00
Chris Lattner
77ac7baa6d Check in an EARLY START on a simple copying collector
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13698 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-23 21:25:45 +00:00
Brian Gaeke
ada3c4f805 Share the profile info type enum with the C++ analysis libraries.
Add a documentation comment for write_profiling_data().


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13345 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-04 16:51:48 +00:00
Brian Gaeke
9fa49c8906 Constants for profile info type changed names to match the C++ ones.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13344 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-04 16:51:47 +00:00
Brian Gaeke
40114b780b Constants for profile info type changed names to match the C++ ones.
Edited comments.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13343 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-04 16:51:46 +00:00
Brian Gaeke
ca1a6976ba Add initial implementation of basic block tracing runtime
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13339 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-03 23:51:50 +00:00
Brian Gaeke
86329b3fd6 Add basic block tracing functions as exported symbols.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13338 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-03 23:49:17 +00:00
Brian Gaeke
273595f907 Add basic block tracing information as a type of "profiling" information.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13337 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-03 23:49:16 +00:00
Misha Brukman
ef2b0db858 Fit comment into 80 cols.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12996 91177308-0d34-0410-b5e6-96231b3b80d8
2004-04-16 17:13:52 +00:00
Chris Lattner
265c87a6ef Remove libraries that have no reason to be here, and keep breaking the nightly tester because their makefiles do not have the right dependencies!!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12981 91177308-0d34-0410-b5e6-96231b3b80d8
2004-04-16 14:12:36 +00:00
Chris Lattner
a990398102 Reenable library now that the loopsimplify bug is fixed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12891 91177308-0d34-0410-b5e6-96231b3b80d8
2004-04-13 16:24:53 +00:00
Chris Lattner
5d98f04ebe Temporary hack to get the nightly tester running
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12886 91177308-0d34-0410-b5e6-96231b3b80d8
2004-04-13 13:57:29 +00:00
John Criswell
8130a38321 Merged in RELEASE_12.
This fixes the zlib linking problems.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12531 91177308-0d34-0410-b5e6-96231b3b80d8
2004-03-29 20:22:30 +00:00
Chris Lattner
40bdfe5554 Make sure to get the headers from zlib correctly
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12521 91177308-0d34-0410-b5e6-96231b3b80d8
2004-03-26 17:04:53 +00:00
Brian Gaeke
63c8cc6dcd Make sure libcrtend.a gets installed when you make install-bytecode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12292 91177308-0d34-0410-b5e6-96231b3b80d8
2004-03-11 20:55:23 +00:00
Chris Lattner
127cab2cc7 Add edge profiling support to the runtime library
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12227 91177308-0d34-0410-b5e6-96231b3b80d8
2004-03-08 18:04:31 +00:00
Chris Lattner
17d3a87cda Build zlib and libpng
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11911 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-27 17:00:29 +00:00
John Criswell
c224efb7a6 Build an archive for use with Povray.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11678 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-20 21:26:46 +00:00
Chris Lattner
3da125839d Add a simple implementation of strncpy
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11672 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-20 20:15:47 +00:00
Chris Lattner
a8032090aa Add strndup
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11638 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-19 21:44:41 +00:00
Chris Lattner
3c5df2612c Since tail duplication is currently neutered, we have to help the optimizer to remove the overhead of __main
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11561 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-17 18:45:06 +00:00
Chris Lattner
f472935caf Make sure to copy the null terminator at the end of the argv list. Some
programs use it instead of argc.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11270 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-10 19:14:44 +00:00
Chris Lattner
ebd02a8cfa 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11264 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-10 18:01:00 +00:00
Chris Lattner
affce4fd93 Make the initialization calls return argc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11261 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-10 17:36:25 +00:00
John Criswell
a6859b4715 Initial checking of the libpng library.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11149 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-06 16:37:53 +00:00
John Criswell
2a9d717444 Initial checking of the zlib library.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11148 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-06 16:36:42 +00:00
Brian Gaeke
3b9f445c13 Clean out DESTLIBBYTECODE when making clean in runtime.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11119 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-04 21:40:49 +00:00
Brian Gaeke
796960e461 Add DESTDIR support for installing. Use (and depend on) $(bytecode_libdir).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10947 91177308-0d34-0410-b5e6-96231b3b80d8
2004-01-21 23:57:46 +00:00
Brian Gaeke
9715fcd841 Clarify comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10898 91177308-0d34-0410-b5e6-96231b3b80d8
2004-01-16 21:13:10 +00:00
Chris Lattner
86f3dda18b Add support for people calling main recursively
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10535 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-19 07:51:46 +00:00
John Criswell
d000e1dc2f Merged in RELEASE_11.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10516 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-18 16:43:17 +00:00
Misha Brukman
b49fa616d4 Disable __attribute__((weak)) on Mac OS X and other lame platforms.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10489 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-16 22:57:30 +00:00
Misha Brukman
a5df0cdbe2 Make all memory functions have weak linkage so that they can be overridden with
custom memory-management implementations (e.g., bash).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10478 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-15 22:32:50 +00:00
John Criswell
5be28c59c6 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).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10368 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-10 15:43:07 +00:00
John Criswell
61eae03b44 Dummy implementation of the pthread library.
This is needed since libstdc++ uses pthread_once().


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10360 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-10 14:46:36 +00:00
Chris Lattner
b5da7465b7 Simplify makefiles by just explicitly listing directories
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10324 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-08 20:12:46 +00:00
John Criswell
ea0ac1fbb3 Fixed the dynamic generation of the list of subdirectories to compile.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10322 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-08 17:52:32 +00:00
Chris Lattner
9ca419e577 add missing dependency
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10271 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-30 09:22:42 +00:00
Chris Lattner
f168b7551c Build _lib_crtend.a, not crtend.a
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10260 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-29 10:24:57 +00:00
Chris Lattner
53005b00be Don't print out tons of crap
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10259 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-29 10:14:17 +00:00
Chris Lattner
ef1835df7b Rewrite makefile logic to build an archive instead of a .o file. This is
intended to address PR142


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10257 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-29 10:05:30 +00:00
Chris Lattner
e893d649fa Add readme and spiff up makefile header
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10254 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-29 09:22:53 +00:00
Brian Gaeke
e9dd3f1aa8 As per PR96, don't build subdirs if LLVMGCCDIR is not set to something
reasonable, instead, print out a "LOUD warning".


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10023 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-16 06:51:53 +00:00
Misha Brukman
cf95d4fe42 Fixed word order.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9978 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-13 18:03:11 +00:00
Chris Lattner
d338a23b0c Totally disable assert, in order to fix PR101
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9818 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-09 00:29:51 +00:00
Chris Lattner
a3954095dc 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9801 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-08 05:13:40 +00:00
Chris Lattner
d09bef4d46 Actually save and pass in argument information
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9564 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-28 22:45:25 +00:00
Chris Lattner
98b1d8115e We need to output the number of records we have, so we know how many to read in! Doh.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9555 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-28 19:35:56 +00:00
Chris Lattner
a9a3028935 Initial checkin of function and block profiling runtime library
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9546 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-28 18:56:51 +00:00
Misha Brukman
2a211c4cd2 Add dummy content for libgdbm.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9344 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 18:26:07 +00:00
Misha Brukman
724d084da0 Fix libm's name to be `libm'
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9343 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 18:25:37 +00:00
Misha Brukman
60d3ba8c5e Fix library name and fix line to fit within 80 columns.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9342 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 18:22:34 +00:00
Chris Lattner
68172da055 Fix strcpy implementation and trie
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9338 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 17:53:16 +00:00
John Criswell
e2fab734ad Added LLVM copyright to Makefiles.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9314 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-20 22:29:16 +00:00
John Criswell
7eadec6327 Adding additional license information to these files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9102 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-13 20:34:27 +00:00
Chris Lattner
4dd7b4fbca 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9043 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-10 22:55:55 +00:00
Brian Gaeke
17634f7668 Include <cstdio> instead of <stdio.h>.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9032 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-10 18:46:52 +00:00
Misha Brukman
cf00c4ab3b Fix spelling.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9027 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-10 17:57:28 +00:00
Chris Lattner
af229bb669 Fix building outside the srcdir, again
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8543 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-15 19:22:36 +00:00
Chris Lattner
98d58862ac Fix building into a different obj directory
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8542 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-15 19:20:11 +00:00
Chris Lattner
919846dac8 Whoops, remove makefile too
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8533 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-15 15:07:37 +00:00
Chris Lattner
6d4e4f85dd Remove dead library, it is now folded into crtend
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8532 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-15 15:07:22 +00:00
Chris Lattner
fc01114c65 Move the exception handling runtime stuff into this directory
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8530 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-15 15:06:39 +00:00
Chris Lattner
7b3092d3e4 Urg, forgot to add a file header somehow.
Add missing function comments


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8236 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-30 23:31:08 +00:00
Chris Lattner
214191f473 initial checkin of SJLJ exception handling runtime
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8235 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-30 23:29:22 +00:00
Chris Lattner
ed499d2e0a Rename LongJmpException -> SJLJException
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8234 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-30 23:29:08 +00:00
Chris Lattner
7a9fd015a3 we don't need this here
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8233 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-30 23:18:07 +00:00
Chris Lattner
7f45519784 Move language independent exception handling routines OUT of C++Exception.cpp
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8232 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-30 23:17:51 +00:00
Chris Lattner
e86159df9d File was renamed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8231 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-30 22:48:16 +00:00
Chris Lattner
ea0721c725 Rename files to be capitalized now that they are C++
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8230 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-30 22:47:59 +00:00
Chris Lattner
d6ddfb226f Initial checkin of the SJLJ EH interface
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8229 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-30 22:36:52 +00:00
Misha Brukman
402f151d44 Added a dummy version of libcurses.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8222 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-29 18:13:52 +00:00
Misha Brukman
efe98e9b1d Added dummy termcap library.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8221 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-29 18:09:46 +00:00
Chris Lattner
b40d5e7d94 * 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8184 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-28 19:58:51 +00:00
Chris Lattner
82d222faaa Convert C comments to C++
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8172 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-28 14:43:36 +00:00
Chris Lattner
37459033f9 New wrapper around the terminate call.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8171 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-28 14:35:52 +00:00
Chris Lattner
f4b319d356 Squelch warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8170 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-28 14:35:12 +00:00
Chris Lattner
0028b2cdbc Be more typesafe
Call terminate and unexpected where appropriate.
Interface to libstdc++ as appropriate
Initial cut at implementing function exception specifications


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8169 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-27 23:00:11 +00:00
Chris Lattner
d289ed5615 Be more type-safe, add throw specs to all functions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8168 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-27 22:59:15 +00:00
Chris Lattner
7a37fa7e28 Add throw specs to the functions, remove (void) from the functions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8167 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-27 22:58:51 +00:00
Chris Lattner
0e807bd26b Hack out libexception temporarily until the Sparc FE is improved
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8166 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-27 22:18:23 +00:00
Chris Lattner
5eb7939057 Fix several _killer_ bugs. This now actually WORKS for really complex testcases :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8157 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-27 04:51:26 +00:00
Chris Lattner
5cf1199059 C++ify, add new get_cxx_exception function to convert from generic llvm_exceptions to llvm_cxx_exception's
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8156 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-27 04:50:45 +00:00
Chris Lattner
c2c70fa79e Remove Cisms. We love C++
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8155 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-27 04:50:12 +00:00
Chris Lattner
23b9b05fd3 Add new __llvm_cxxeh_begin_catch_if_isa function, change C -> C++ comments
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8150 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-26 23:46:53 +00:00
Chris Lattner
aa8882a7ad Remove copy-and-paste gunk
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8147 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-25 22:37:04 +00:00