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
Chris Lattner
318aae2ed0
New testcase *sigh*
...
llvm-svn: 8228
2003-08-30 21:00:36 +00:00
Chris Lattner
44e5799960
New, HARD, bitfield testcase
...
llvm-svn: 8227
2003-08-30 20:57:49 +00:00
Chris Lattner
88055880dc
Yet another bit-field bug
...
llvm-svn: 8226
2003-08-29 22:46:34 +00:00
Chris Lattner
34ba9327f0
minor simplification
...
llvm-svn: 8225
2003-08-29 21:57:18 +00:00
Misha Brukman
2bc3f01e40
Test case distilled from sed.
...
llvm-svn: 8224
2003-08-29 21:49:51 +00:00
Misha Brukman
99e868c0a6
Testcase distilled from xemacs.
...
llvm-svn: 8223
2003-08-29 21:28:47 +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
27b4febc65
New testcase
...
llvm-svn: 8218
2003-08-29 16:00:19 +00:00
Misha Brukman
3136208448
Use `llvm-dis' instead of simply `dis'.
...
llvm-svn: 8217
2003-08-29 15:26:31 +00:00
Chris Lattner
589ca4902c
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
c907487c22
"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
5f9be67e07
There is no reason for this to be a pass!
...
llvm-svn: 8214
2003-08-29 14:43:17 +00:00
Chris Lattner
0e287475cb
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
fe048e4404
Fix compilation problems with G++ 3.4
...
llvm-svn: 8212
2003-08-29 14:22:29 +00:00
Chris Lattner
b0f858b22a
Slightly simplify make logic
...
llvm-svn: 8211
2003-08-29 14:07:02 +00:00
Chris Lattner
a38adaa88f
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
c27038d7b5
Implement "unsafe" replaceAllUsesWWith stuff for use during type resolution.
...
llvm-svn: 8209
2003-08-29 05:36:46 +00:00
Chris Lattner
96cb8de142
Allow for "unsafe" replaceAllUsesWith operatations, for use during type resolution
...
llvm-svn: 8208
2003-08-29 05:36:05 +00:00
Chris Lattner
2f0f071105
Yet ANOTHER complication that the libstdc++ library runs into linking...
...
llvm-svn: 8207
2003-08-29 05:29:38 +00:00
Chris Lattner
6097d94295
Fix bug: Linker/2003-08-28-TypeResolvesGlobal2.ll
...
llvm-svn: 8206
2003-08-29 05:11:34 +00:00
Chris Lattner
9f15812e88
Refactor code to make it useful outside of Constants.cpp
...
llvm-svn: 8205
2003-08-29 05:09:37 +00:00
Chris Lattner
ee3b99c585
Add new method
...
llvm-svn: 8204
2003-08-29 05:08:31 +00:00
Chris Lattner
8cbaf924b4
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
ae77242011
Fix bug: Linker/2003-08-28-TypeResolvesGlobal.ll
...
llvm-svn: 8202
2003-08-29 04:49:54 +00:00
Chris Lattner
b0afc5b06d
New testcase which is preventing the linking of libstdc++
...
llvm-svn: 8201
2003-08-29 04:40:34 +00:00
Misha Brukman
9770b83509
* 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
965dd49815
NEw testcase
...
llvm-svn: 8199
2003-08-29 00:29:55 +00:00
Chris Lattner
55ab0f57db
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
bd779f7819
Renaming `dis' -> `llvm-dis'.
...
llvm-svn: 8197
2003-08-28 22:14:16 +00:00
Chris Lattner
8a18a8c307
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
abe1ecee6f
Renaming `as' -> `llvm-as' and `dis' -> `llvm-dis'.
...
llvm-svn: 8195
2003-08-28 22:02:50 +00:00
Misha Brukman
f74a779900
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
fc8010c50c
Start using `llvm-as' instead of `as'.
...
llvm-svn: 8193
2003-08-28 21:45:08 +00:00
Misha Brukman
84acf179dd
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
a4b09fe071
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
a289abfc82
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
f12549d921
Renaming LLVM `dis' to `llvm-dis'.
...
llvm-svn: 8189
2003-08-28 21:34:13 +00:00
Misha Brukman
9893027b5e
Renaming LLVM `as' to `llvm-as'.
...
llvm-svn: 8188
2003-08-28 21:32:57 +00:00
Chris Lattner
147b66cd2b
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
0ca03c0139
Add another testcase I found lying around.
...
llvm-svn: 8186
2003-08-28 20:33:46 +00:00
Chris Lattner
a9c1cd238a
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