Commit Graph

100 Commits

Author SHA1 Message Date
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
Chris Lattner 511c2cf0cc Add throw specs to the functions, remove (void) from the functions
llvm-svn: 8167
2003-08-27 22:58:51 +00:00
Chris Lattner 35312b2b6d Hack out libexception temporarily until the Sparc FE is improved
llvm-svn: 8166
2003-08-27 22:18:23 +00:00
Chris Lattner 5e22eb1942 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 c9661eeaab 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 8596f4ff32 Remove Cisms. We love C++
llvm-svn: 8155
2003-08-27 04:50:12 +00:00
Chris Lattner 2b33832598 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 275e3eb16e Remove copy-and-paste gunk
llvm-svn: 8147
2003-08-25 22:37:04 +00:00
Chris Lattner bbaaa11433 Initial checking of C++ exception handling library
llvm-svn: 8146
2003-08-25 22:35:36 +00:00
Misha Brukman 67fc400da8 Added dummy version of the `util' library.
llvm-svn: 7995
2003-08-20 21:44:04 +00:00
Misha Brukman db3c78202d 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 99211dc999 This really isn't the gcc library!
llvm-svn: 7917
2003-08-17 18:37:45 +00:00
Chris Lattner 7aabe391b8 Adjust level, build things in parallel
llvm-svn: 7863
2003-08-15 02:38:18 +00:00
Chris Lattner 43063248aa initial checkin, adjust LEVEL
llvm-svn: 7862
2003-08-15 02:38:06 +00:00
Chris Lattner 002c6a65c5 Initial checkin of README
llvm-svn: 7861
2003-08-15 02:35:13 +00:00
Chris Lattner aea063b30a Initial checkin of runtime/GCCLibraries makefile
llvm-svn: 7860
2003-08-15 02:33:49 +00:00