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