1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
Commit Graph

7593 Commits

Author SHA1 Message Date
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
Chris Lattner
71637785d6 New testcase *sigh*
llvm-svn: 8228
2003-08-30 21:00:36 +00:00
Chris Lattner
1be1c179fc New, HARD, bitfield testcase
llvm-svn: 8227
2003-08-30 20:57:49 +00:00
Chris Lattner
fbbf4db004 Yet another bit-field bug
llvm-svn: 8226
2003-08-29 22:46:34 +00:00
Chris Lattner
be7a6d2c43 minor simplification
llvm-svn: 8225
2003-08-29 21:57:18 +00:00
Misha Brukman
869f25ff98 Test case distilled from sed.
llvm-svn: 8224
2003-08-29 21:49:51 +00:00
Misha Brukman
49f833dd83 Testcase distilled from xemacs.
llvm-svn: 8223
2003-08-29 21:28:47 +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
3d0e4a99ec New testcase
llvm-svn: 8218
2003-08-29 16:00:19 +00:00
Misha Brukman
0ebfe99b0c Use llvm-dis' instead of simply dis'.
llvm-svn: 8217
2003-08-29 15:26:31 +00:00
Chris Lattner
3521199bc1 Remove automagic support for Modules. Noone uses it now anyways, and GCC 3.4 doesn't want us to do this unless Module has been #included
llvm-svn: 8216
2003-08-29 14:48:21 +00:00
John Criswell
9047331cc7 "Help keep our secrets secret."
Added code to respect the umask value.  Before, files were generated world
readable, which may not be desirable for all installations.

llvm-svn: 8215
2003-08-29 14:46:12 +00:00
Chris Lattner
6f0cabcb53 There is no reason for this to be a pass!
llvm-svn: 8214
2003-08-29 14:43:17 +00:00
Chris Lattner
5ec6f80964 Move getAnalysisToUpdate to after the definition of AnalysisResolver.
GCC 3.4 apparently wants classes to be DEFINED before they are USED.  What is
it smoking.

llvm-svn: 8213
2003-08-29 14:26:51 +00:00
Chris Lattner
926a2197ec Fix compilation problems with G++ 3.4
llvm-svn: 8212
2003-08-29 14:22:29 +00:00
Chris Lattner
32a2f9698f Slightly simplify make logic
llvm-svn: 8211
2003-08-29 14:07:02 +00:00
Chris Lattner
b60bfd904c Fix bug: Linker/2003-08-28-TypeResolvesGlobal3.ll
Use new replaceAllUsesWith stuff in a way that works even though types have not yet been propagated

llvm-svn: 8210
2003-08-29 05:37:22 +00:00
Chris Lattner
286e92a9ef Implement "unsafe" replaceAllUsesWWith stuff for use during type resolution.
llvm-svn: 8209
2003-08-29 05:36:46 +00:00
Chris Lattner
51f4550b50 Allow for "unsafe" replaceAllUsesWith operatations, for use during type resolution
llvm-svn: 8208
2003-08-29 05:36:05 +00:00
Chris Lattner
7ac3931008 Yet ANOTHER complication that the libstdc++ library runs into linking...
llvm-svn: 8207
2003-08-29 05:29:38 +00:00
Chris Lattner
055944e9d3 Fix bug: Linker/2003-08-28-TypeResolvesGlobal2.ll
llvm-svn: 8206
2003-08-29 05:11:34 +00:00
Chris Lattner
a2a7b891e5 Refactor code to make it useful outside of Constants.cpp
llvm-svn: 8205
2003-08-29 05:09:37 +00:00
Chris Lattner
d5c685b6fc Add new method
llvm-svn: 8204
2003-08-29 05:08:31 +00:00
Chris Lattner
85213eb39f Ok, the last bug fix was not good enough to fix libstdc++. Maybe this one will be
llvm-svn: 8203
2003-08-29 04:54:23 +00:00
Chris Lattner
f104b6e6ad Fix bug: Linker/2003-08-28-TypeResolvesGlobal.ll
llvm-svn: 8202
2003-08-29 04:49:54 +00:00
Chris Lattner
ba919dc29b New testcase which is preventing the linking of libstdc++
llvm-svn: 8201
2003-08-29 04:40:34 +00:00
Misha Brukman
6202e8a9ea * Use alloca() to force GCC not to eliminate frame pointer
* Break apart saving and restoring registers into separate functions
* Instead of saving single and double FP registers, just save the double
  registers -- aliasing helps preserve the single FP registers as well.
* Request just as much memory for a stub as we actually use

llvm-svn: 8200
2003-08-29 04:22:54 +00:00
Chris Lattner
4fb9814f05 NEw testcase
llvm-svn: 8199
2003-08-29 00:29:55 +00:00
Chris Lattner
03e444c960 New testcase, not only possible of causing compilation failures, but could
also cause miscompilations!

llvm-svn: 8198
2003-08-29 00:03:45 +00:00
Misha Brukman
7fbf15848b Renaming dis' -> llvm-dis'.
llvm-svn: 8197
2003-08-28 22:14:16 +00:00
Chris Lattner
5a9007a58b Document the llvm.unwind intrinsic.
Clarify the documentation for the invoke instruction

llvm-svn: 8196
2003-08-28 22:12:25 +00:00
Misha Brukman
f79868b288 Renaming as' -> llvm-as' and dis' -> llvm-dis'.
llvm-svn: 8195
2003-08-28 22:02:50 +00:00
Misha Brukman
f6221eca2c Near-term fix for renaming as' -> llvm-as' and dis' -> llvm-dis'.
llvm-svn: 8194
2003-08-28 21:46:34 +00:00
Misha Brukman
1aa0f15bd0 Start using llvm-as' instead of as'.
llvm-svn: 8193
2003-08-28 21:45:08 +00:00
Misha Brukman
eed6bdf487 Build llvm-as and llvm-dis as the upgrade path to renamed tools.
llvm-svn: 8192
2003-08-28 21:43:51 +00:00
John Criswell
588d65ae68 Fixed two double free bugs that caused llc to segfault or run forever.
llvm-svn: 8191
2003-08-28 21:43:17 +00:00
John Criswell
65e849241f Added code to avoid checking for .bc when the filename is too short.
llvm-svn: 8190
2003-08-28 21:42:29 +00:00
Misha Brukman
a42a115cb9 Renaming LLVM dis' to llvm-dis'.
llvm-svn: 8189
2003-08-28 21:34:13 +00:00
Misha Brukman
6da6dc6264 Renaming LLVM as' to llvm-as'.
llvm-svn: 8188
2003-08-28 21:32:57 +00:00
Chris Lattner
062cc9d341 Add support for the llvm.unwind intrinsic, which we codegen to just do an abort
until we implement unwinding.
Add support for the invoke instruction, which codegens just like a call with
a branch after it.

The end effect of this change is that programs using the invoke instruction,
but never unwinding, will work fine.  Programs that unwind will abort until
we get unwind support.

llvm-svn: 8187
2003-08-28 21:23:43 +00:00
Chris Lattner
b045389650 Add another testcase I found lying around.
llvm-svn: 8186
2003-08-28 20:33:46 +00:00
Chris Lattner
d105e0d5fd Add test for the last chapter of our C++ exception handling odyssey. llvmg++
now fully supports all C++ exception handling functionality.

llvm-svn: 8185
2003-08-28 20:32:36 +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
eb133d331c New testcases, all of which work with llvmg++!
This tests exception specifications, and also adds an "easy" rethrow test.

llvm-svn: 8183
2003-08-28 19:57:53 +00:00
Chris Lattner
735129a531 Link to the C++ libraries. This is temporary
llvm-svn: 8182
2003-08-28 19:57:14 +00:00
Chris Lattner
763a88d6bd Fix really nasty bugs in the CWriter, handling invoke instructions. Tracking
these down was NOT phun.

llvm-svn: 8181
2003-08-28 19:56:10 +00:00