1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
Commit Graph

8070 Commits

Author SHA1 Message Date
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
Tanya Lattner
7fc76b7377 Removing README
llvm-svn: 8180
2003-08-28 17:17:59 +00:00
Tanya Lattner
f7a56c2596 Putting my revised version of ModuloScheduling in cvs. This is not complete...
llvm-svn: 8179
2003-08-28 17:12:14 +00:00
Chris Lattner
a295c0d706 Fix bug where we considered function types equivalent even if they had differing numbers of arguments
llvm-svn: 8178
2003-08-28 16:42:50 +00:00
Chris Lattner
9e8da6070b Reorder #includes
Make sure that we veryify the result before writing it out!

llvm-svn: 8177
2003-08-28 16:25:34 +00:00
Tanya Lattner
ff06e1a796 Moved index in BB to common graph class.
llvm-svn: 8175
2003-08-28 15:31:28 +00:00
Tanya Lattner
7ce05c067d Moved index into BB to common graph class because its needed by ModuloSchedGraph.
llvm-svn: 8174
2003-08-28 15:30:40 +00:00
Tanya Lattner
0438742d12 First version of llvm-ar added to cvs repository.
llvm-svn: 8173
2003-08-28 15:22:38 +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
8b65c87099 Move the testcase elsewhere
llvm-svn: 8165
2003-08-27 19:06:04 +00:00
Chris Lattner
ccf9e52d5f Refactor code slightly. Make code compiled with llvmgcc use the warning options
as well.  Compile with -fshort-enums whether in debug or release mode, because it breaks the ABI

llvm-svn: 8164
2003-08-27 18:26:44 +00:00
Misha Brukman
c2bdd7230c Spell `incompatible' correctly.
llvm-svn: 8163
2003-08-27 18:26:28 +00:00
Chris Lattner
ca65067ff8 New testcase. Unfortunately, native GCC gets this wrong. Someday we will have to figure out how to deal with this.
llvm-svn: 8162
2003-08-27 18:19:53 +00:00
Tanya Lattner
68f651356f *** empty log message ***
llvm-svn: 8161
2003-08-27 15:52:23 +00:00
Tanya Lattner
2c6c16288a Added/removed header file
llvm-svn: 8160
2003-08-27 15:12:24 +00:00
John Criswell
6031a463d3 Added an option to TableGen that allows users to specify a directory in which
to find include files.  TableGen will load include files from this directory if
it cannot find them in the current directory.
This feature was needed for building code inside the object tree (a la autoconf
style).
TODO: Allow for multiple -I options to specify a list of directories to search.

llvm-svn: 8159
2003-08-27 13:41:57 +00:00
Chris Lattner
acf9c4a442 New testcases, which WORK with LLVMG++ and the CBE.
llvm-svn: 8158
2003-08-27 04:57:33 +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