Commit Graph

5832 Commits

Author SHA1 Message Date
Chris Lattner 15285abcbe Print opaque types
llvm-svn: 6200
2003-05-14 17:50:47 +00:00
Chris Lattner c009d58eb3 Casts are now unnecessary
llvm-svn: 6199
2003-05-14 17:50:19 +00:00
Chris Lattner f2bef422e4 Add some methods to make type safety a bit easier
llvm-svn: 6198
2003-05-14 17:49:52 +00:00
Chris Lattner 70694cba0a New testcase producing assertion failure
llvm-svn: 6197
2003-05-14 15:44:54 +00:00
Chris Lattner a48319c483 Forgot to make test executable
llvm-svn: 6196
2003-05-14 14:47:38 +00:00
Chris Lattner c0fa8dc48d new testcase
llvm-svn: 6195
2003-05-14 14:38:10 +00:00
Chris Lattner 4a5bb95729 Add support for atexit function, remove support for __main function
llvm-svn: 6194
2003-05-14 14:21:30 +00:00
Chris Lattner 2537ca318a Add support for atexit handlers to the JIT, fixing 2003-05-14-AtExit.c
llvm-svn: 6193
2003-05-14 13:53:40 +00:00
Chris Lattner c67e340327 Fix compilation problems with previous checking *blush*
llvm-svn: 6191
2003-05-14 13:27:36 +00:00
Chris Lattner 5a9ea75e6b Add a framework for intercepting system calls
llvm-svn: 6190
2003-05-14 13:26:47 +00:00
Chris Lattner 30959f8faa Dead file
llvm-svn: 6189
2003-05-14 13:10:18 +00:00
Chris Lattner 1930a47f04 Minor updates
llvm-svn: 6188
2003-05-14 13:09:57 +00:00
Chris Lattner 6563768a92 Initial checkin of crtend.o implementation
llvm-svn: 6187
2003-05-14 13:09:41 +00:00
Chris Lattner 6e0ba26b43 New file
llvm-svn: 6186
2003-05-14 12:40:20 +00:00
Chris Lattner 58ea8ff469 Fix major problem with appending linkage changes
llvm-svn: 6185
2003-05-14 12:11:51 +00:00
Chris Lattner 69f6af1604 Fix bug
llvm-svn: 6184
2003-05-14 02:47:13 +00:00
Chris Lattner a2d3504c24 Search LLVM_LIB_SEARCH_PATH for objects to allow it to find crtend.o
Implement minor library linking optimization.

llvm-svn: 6181
2003-05-13 22:14:13 +00:00
Chris Lattner c2ceed1b38 Implement another getelementptr folding opportunity that arises when
linking stuff with appending linkage

llvm-svn: 6180
2003-05-13 21:50:52 +00:00
Chris Lattner 2b383d2ef2 Eliminate using declarations
llvm-svn: 6179
2003-05-13 21:37:02 +00:00
Chris Lattner f779becc5a Implement linkage of appending global variables!
llvm-svn: 6178
2003-05-13 21:33:43 +00:00
Chris Lattner 83dff9da0a Add uses of the appending variable
llvm-svn: 6177
2003-05-13 21:32:48 +00:00
Chris Lattner 473bd55d57 Add new testcase for appending linkage
llvm-svn: 6176
2003-05-13 20:48:17 +00:00
Chris Lattner 72fb6731ba New test for appending linkage
llvm-svn: 6175
2003-05-13 20:31:46 +00:00
Chris Lattner 09e2b44f84 Clean up cast
llvm-svn: 6174
2003-05-13 20:29:17 +00:00
Chris Lattner 9c105cd27f Clean up #includes
llvm-svn: 6173
2003-05-13 20:21:19 +00:00
Chris Lattner 922f4f2bd4 Fix bug: CBackend/2003-05-13-VarArgFunction.ll
In C, a prototype with no arguments is varargs.  A prototype that takes void
has zero args.

llvm-svn: 6172
2003-05-13 20:15:37 +00:00
Chris Lattner c50e3700ad New testcase
llvm-svn: 6171
2003-05-13 20:11:21 +00:00
Chris Lattner 828367d75a Add support for the LLVM C++ frontend
llvm-svn: 6167
2003-05-13 20:06:00 +00:00
Chris Lattner e29bbd4a2e Make test cases executable
llvm-svn: 6166
2003-05-13 19:50:01 +00:00
Chris Lattner 4bee5558d4 Make testcase executable
llvm-svn: 6165
2003-05-13 19:40:31 +00:00
Chris Lattner 4ed31ceb94 New testcase
llvm-svn: 6164
2003-05-13 18:09:44 +00:00
Chris Lattner 62f5887f03 Add test for handling ptrmem_cst
llvm-svn: 6163
2003-05-12 23:34:59 +00:00
Chris Lattner 0a2baca8f0 Make test more interesting
llvm-svn: 6162
2003-05-12 23:33:00 +00:00
Chris Lattner 0077497a15 Add first C++ test
llvm-svn: 6161
2003-05-12 23:22:51 +00:00
Chris Lattner 4dc3fcaff3 Fix bug: Dominators/2003-05-12-UnreachableCode.ll
llvm-svn: 6158
2003-05-12 22:35:13 +00:00
Chris Lattner 8321cc49b3 New testcase
llvm-svn: 6157
2003-05-12 22:28:15 +00:00
Chris Lattner ea8bf50b09 New file
llvm-svn: 6156
2003-05-12 22:25:24 +00:00
Chris Lattner df705a6d02 Add a disable-verify option
llvm-svn: 6155
2003-05-12 22:12:44 +00:00
Chris Lattner ebc5f1944e Move static stuff to an anonymous namespace
llvm-svn: 6154
2003-05-12 22:08:58 +00:00
Chris Lattner 0895025b30 Fix bug: LoopPreheaders/2003-05-12-PreheaderExitOfChild.ll
llvm-svn: 6153
2003-05-12 22:04:34 +00:00
Chris Lattner a7aebc9b2c New testcase
llvm-svn: 6152
2003-05-12 21:57:41 +00:00
Chris Lattner 3fa7b77ddf Make abort more explicit
llvm-svn: 6151
2003-05-12 21:16:26 +00:00
Chris Lattner d4e5409f35 Remove the assertion failure of course... doh
llvm-svn: 6150
2003-05-12 20:39:39 +00:00
Chris Lattner 7ae106bc5e Enable more tests
llvm-svn: 6149
2003-05-12 20:39:30 +00:00
Chris Lattner 5069283493 Implement casts from unsigned integers to floating point
llvm-svn: 6148
2003-05-12 20:36:13 +00:00
Chris Lattner 5baf6530c2 Add tests for casts from unsigned integers to floats
llvm-svn: 6147
2003-05-12 20:35:29 +00:00
Chris Lattner 6c906adb73 Make error messages more useful than jsut an abort
llvm-svn: 6146
2003-05-12 20:16:58 +00:00
Chris Lattner b1eee00034 Remove wierd printout
llvm-svn: 6145
2003-05-12 20:10:12 +00:00
Chris Lattner 1103e8349d Use a kill, not a dead definition, update comment
llvm-svn: 6131
2003-05-12 17:37:30 +00:00
Chris Lattner 778b947bfc Fix bug: CWriter/2003-05-12-IntegerSizeWarning.c
llvm-svn: 6128
2003-05-12 15:39:31 +00:00