Commit Graph

281 Commits

Author SHA1 Message Date
Christian Kamm
87f6a4fa41 [svn r301] Fixed incorrect codegen with array slice assigns. 2008-06-20 23:27:59 +02:00
Tomas Lindquist Olsen
baf0bdeac6 [svn r300] Removed some win32 stuff that was causing problems on mingw32. 2008-06-20 22:25:07 +02:00
Tomas Lindquist Olsen
fe09b045f3 [svn r299] forgot to return status in runExecutable 2008-06-20 22:12:15 +02:00
Tomas Lindquist Olsen
41a104c0f4 [svn r298] Eliminated the dmd/link.c source file entirely in favor of a llvm::sys based approach to the same functionality. 2008-06-20 22:09:04 +02:00
Tomas Lindquist Olsen
c743549032 [svn r297] Fixed: rewrote linker code to use LLVM's Program facilities instead of DMD's oldschool broken "native" approach. 2008-06-20 17:45:13 +02:00
Tomas Lindquist Olsen
928f7d4de5 [svn r296] Removed: the 'suite' dir, it never took off!
Fixed: foreach statement, key-type checks were buggy.
Fixed: setting LLVMDC versions on the command line is now an error.
Fixed: array compare runtime had incorrect param attrs on call.
Fixed: index expressions on dynamic array slices w/o storage was broken.
Fixed: scope classes had incorrect finalization in some cases.
Fixed: when outputting !ClassInfoS !OffsetTypeInfoS, static class members were trying to be included, crashing the compiler.
Fixed: calling LLVMDC with -inline but not any -O option caused assertion failure.
Changed: the runtime now uses a single interface to "get" to !TypeInfoS, part of eliminating duplicate !TypeInfo codegen.
2008-06-19 17:30:32 +02:00
Christian Kamm
f235b71c7b [svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
Test results for current revision added.
2008-06-19 13:54:31 +02:00
Tomas Lindquist Olsen
af6ca8fe85 [svn r294] Fixed some more of the old tests. 2008-06-18 23:29:14 +02:00
Tomas Lindquist Olsen
122ac3f195 [svn r293] Fixed: object.TypeInfo_Struct implementation was incorrect. 2008-06-18 22:27:02 +02:00
Tomas Lindquist Olsen
ab92e1230b [svn r292] Fixed: string switch was broken in several ways.
Fixed: TypeInfo_Typedef.next was incorrect (return base of base instead of just base).
Fixed: ClassInfo offset type info (offTi) had invalid offsets.
2008-06-18 21:31:05 +02:00
Tomas Lindquist Olsen
964f91b5a1 [svn r291] Fixed a bunch of the old Phobos tests to work with Tango.
Branch statements now emit a new block after it.
Fixed the _adSort runtime function had a bad signature.
Added a missing dot prefix on compiler generated string tables for string switch.
Fixed, PTRSIZE seems like it was wrong on 64bit, now it definitely gets set properly.
2008-06-16 16:01:19 +02:00
Tomas Lindquist Olsen
ccecb39c46 [svn r290] Forgot to remove a #define in mem.c 2008-06-15 18:57:11 +02:00
Tomas Lindquist Olsen
e1aa043a81 [svn r289] Fixed: right shift >> was broken for unsigned types.
Fixed: debug info for classes now started.
2008-06-15 18:52:27 +02:00
Christian Kamm
03888f4b07 [svn r288] Let return statements start a new basic block after terminating the current one.
This fixes problems such as

void main()
{ return; return; }
2008-06-15 18:37:23 +02:00
Christian Kamm
039664b249 [svn r287] update to test statistics generation 2008-06-15 12:58:48 +02:00
Christian Kamm
365687ec7c [svn r286] removing test statistics from repository; they are too big and change too often 2008-06-15 11:40:47 +02:00
Tomas Lindquist Olsen
c2430c713b [svn r285] Fixed D -> bool LLVM helper for floating point values.
Changed the way D-style varargs are passed, now each param should be aligned to size_t.sizeof.
2008-06-14 17:28:13 +02:00
Tomas Lindquist Olsen
d85267ef5a [svn r284] Fixed some problems with cases, code is not as pretty, but it doesn't crash llvm! 2008-06-14 06:13:35 +02:00
Tomas Lindquist Olsen
de89b4bc6f [svn r280] Fixed a bunch of issues with switch statements. Ended up a bit far reaching... 2008-06-14 05:13:49 +02:00
Christian Kamm
1ae510ae6c [svn r279] fixed bug in makewebstatistics, regenerated output 2008-06-13 08:21:11 +02:00
Tomas Lindquist Olsen
27449a2aea [svn r278] Added test results for [277] 2008-06-13 07:50:55 +02:00
Tomas Lindquist Olsen
b13a5646ca [svn r277] Fixed a nasty bug in delegate expressions. Context pointers to nested functions of the parent, from inside a nested function were
invalid.
2008-06-13 05:47:28 +02:00
Tomas Lindquist Olsen
9a28d083f8 [svn r276] Fixed debug info for 'this' arg seemed to be broken. 2008-06-12 19:59:19 +02:00
Christian Kamm
b1e2b66695 [svn r275] improved makewebstatistics 2008-06-12 18:40:47 +02:00
Christian Kamm
5ab116dab4 [svn r273] added html header to web statistics 2008-06-12 18:22:33 +02:00
Christian Kamm
8ddd281bb1 [svn r272] some rough html statistics for the tests 2008-06-12 18:19:54 +02:00
Tomas Lindquist Olsen
53dedd765b [svn r271] Fixed debug info for implicit 'this' param.
Fixed debug info for arguments passed byval (ref and out params still missing).
2008-06-12 18:04:28 +02:00
Tomas Lindquist Olsen
6565e9e09f [svn r270] Forgot the test for struct debug info. 2008-06-12 17:01:31 +02:00
Tomas Lindquist Olsen
e0f2825fd0 [svn r269] Fixed dwarf debug info for structs. 2008-06-12 16:58:26 +02:00
Tomas Lindquist Olsen
c1ae095f4c [svn r268] Fixed: global debug info was still brokem ... should be done now!!! 2008-06-11 21:03:55 +02:00
Tomas Lindquist Olsen
4d2797526d [svn r267] Fixed debug info for global variables.
Cleaned up the debug info code in general.
2008-06-11 20:53:26 +02:00
Christian Kamm
9dc26ff388 [svn r266] dstress results for [265] and small fix for cleanup in runtests script 2008-06-10 21:44:04 +02:00
Christian Kamm
4a481678b8 [svn r265] generate debug info for global variables only if they don't have external linkage 2008-06-10 20:01:04 +02:00
Tomas Lindquist Olsen
cfc8befb5b [svn r264] Fixed debug info for global variables. 2008-06-09 17:49:30 +02:00
Tomas Lindquist Olsen
37b6748897 [svn r263] Changed *** ATTENTION *** to warnings.
Implemented debug info for dynamic arrays, start of general composite support.
2008-06-09 15:52:22 +02:00
Tomas Lindquist Olsen
1e87ae15ef [svn r262] Fixed debug info for normal function parameters.
Fixed debug info for pointers to basic types.
2008-06-09 12:43:16 +02:00
Tomas Lindquist Olsen
8b83eda2a2 [svn r261] Fixed debug info for integer and floating local variables, can now be inspected in GDB.
Did a lot of smaller cleans up here and there.
Replaced more llvm::Foo with LLFoo for common stuff.
Split up tollvm.cpp.
2008-06-09 09:37:08 +02:00
Tomas Lindquist Olsen
e23169d5d8 [svn r260] Changed some of the LLVMDC specific code in the Tango core and did some minor cleanups. 2008-06-09 03:02:14 +02:00
Tomas Lindquist Olsen
951657ccdc [svn r259] Enabled ASM for the GC, this closes #45 by saving the registers on the stack. 2008-06-09 02:05:02 +02:00
Tomas Lindquist Olsen
d939ce7ef6 [svn r258] Fixed: we were passing static arrays by value. 2008-06-09 00:28:02 +02:00
Tomas Lindquist Olsen
4a2d8494a6 [svn r257] Fixed: array .sort and .reverse runtime code was incorrect.
Fixed: most runtime calls did not get correct param attrs.
2008-06-09 00:01:10 +02:00
Tomas Lindquist Olsen
306ebfca83 [svn r256] AsmBlockStatement was still being flattened in some cases.
Function parameters passed as arguments to inline asm was not given storage.
2008-06-08 22:07:10 +02:00
Christian Kamm
1da2bbda9d [svn r255] added dstress results for [254] 2008-06-08 21:23:09 +02:00
Tomas Lindquist Olsen
6ededdd9e3 [svn r253] Removed -inlineasm option. inline asm is now enabled by default unless the new -noasm option is passed.
Tried adding a stack trace print when compiler crashes, not sure it's working though.
Changed data layouts to match that of llvm-gcc.
Fixed casting function pointers.
Added support checks in AsmStatement.
2008-06-08 19:09:24 +02:00
Christian Kamm
c1d240582d [svn r252] added warnings about using an up to date runtime 2008-06-08 18:20:48 +02:00
Christian Kamm
2f590b41e3 [svn r251] fixed arguments checking in runtest script 2008-06-08 12:06:22 +02:00
Tomas Lindquist Olsen
28382e3567 [svn r250] Fixed the warning about dropping arguments to _Dmain when optimizing.
Did a few cleanups in inline asm code.
2008-06-08 08:03:19 +02:00
Tomas Lindquist Olsen
68d7827d35 [svn r249] Changed inline asm clobbers to a set instead of a list so we don't get duplicate clobbers. 2008-06-08 06:45:54 +02:00
Tomas Lindquist Olsen
fd8cec14e1 [svn r248] Fixed: labels in inline asm block now work for the normal case.
Fixed: inline asm blocks are now emitted as a single asm entity.
2008-06-08 06:15:51 +02:00
Tomas Lindquist Olsen
3e62d80b4f [svn r247] fixed accessing global symbols from inline asm. 2008-06-08 01:07:58 +02:00