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
Tomas Lindquist Olsen
61fdcc7040
[svn r246] fixed asm4 test
2008-06-07 21:38:14 +02:00
Tomas Lindquist Olsen
187d6523e3
[svn r245] initial support for labels in inline asm, broken :/
2008-06-07 21:31:38 +02:00
Tomas Lindquist Olsen
c91aea5c66
[svn r244] added another asm test.
2008-06-07 19:20:15 +02:00
Tomas Lindquist Olsen
27634ea5b6
[svn r243] fixed inline asm arg_pointer args hopefully.
2008-06-07 19:19:30 +02:00
Tomas Lindquist Olsen
1af9e9814a
[svn r242] fixed (I think) arg_pointer inline asm args
2008-06-07 19:04:26 +02:00
Tomas Lindquist Olsen
47ac84b223
[svn r241] Fixed missing terminator for void main() with inline asm block.
2008-06-06 22:30:31 +02:00
Christian Kamm
cf4d71b02c
[svn r240] do not crash on zero length constraints string
2008-06-06 22:04:41 +02:00
Christian Kamm
54b7134d78
[svn r239] also use indirect modifier for update constraints
2008-06-06 21:51:40 +02:00
Christian Kamm
5ee938ab0a
[svn r238] use *m for memory input constraints and pass in their address
2008-06-06 21:44:17 +02:00
Tomas Lindquist Olsen
b917fe2f00
[svn r237] some inline asm output now seems to work, see tangotests/asm2.d
2008-06-06 20:51:43 +02:00
Tomas Lindquist Olsen
346d04aa8a
[svn r236] added initial codegen of inline asm, pretty buggy and incomplete still. see the tangotests/asm1.d test for a sample of what does
...
work!
2008-06-06 20:14:51 +02:00
Christian Kamm
68d5150c1b
[svn r235] rough port of GDC's inline assembler code, unfinished
2008-06-05 19:22:37 +02:00
Tomas Lindquist Olsen
d72ed8f5eb
[svn r234] Fixed: missed a few bogus #ifs in last revision.
2008-06-05 06:43:34 +02:00
Tomas Lindquist Olsen
d03c3a7757
[svn r233] Added: -oq command line option for writing fully qualified object names.
...
Added: started support for x86 80bit floating point.
Changed: aggregates passed by value now use the llvm 'byval' parameter attribute, also lays ground work for
using other attributes.
Changed: eliminated a lot more std::vectorS, these showed up pretty much at the top when profiling!
Changed: performed other misc. cleanups.
Changed: halt expression now call the new llvm trap intrinsic instead of an assert(0).
Changed: dstress suite now passes -O0 by default, this only eliminates unreferenced globals, which speeds up
linking quite a bit.
2008-06-05 06:38:36 +02:00
Tomas Lindquist Olsen
1a41b9ef12
[svn r232] Added dstress test results for rev [231] .
2008-06-03 22:32:59 +02:00
Tomas Lindquist Olsen
590d44d302
[svn r231] Changed: warnings are no longer treated as an error.
...
Added some comments and cleaned up CallExp::toElem a tiny bit.
Fixed: struct literals always reported inplace assignment even if they allocated a temporary.
Fixed: passing stuff to a D-style vararg which did inplace assignment was generated suboptimal code.
2008-06-03 13:51:09 +02:00
Tomas Lindquist Olsen
d50cb50aaf
[svn r230] Added vararg3 sample tangotest.
2008-05-30 19:32:56 +02:00