Sat, 16 May 2009 13:10:35 +0200 |
Frits van Bommel |
Automated merge with http://hg.dsource.org/projects/ldc
|
Sat, 16 May 2009 13:06:49 +0200 |
Frits van Bommel |
Intrinsics shouldn't see struct padding, so use a special TargetABI for them
|
Sat, 16 May 2009 12:17:33 +0200 |
Christian Kamm |
Fix overload resolution issue in dmd bug 313/314 fix.
|
Fri, 15 May 2009 17:17:20 +0200 |
Tomas Lindquist Olsen |
Set explicit alignment for normal global variables, ensures alignment is correct for globals with union type.
|
Fri, 15 May 2009 17:05:35 +0200 |
Tomas Lindquist Olsen |
Enabled fix for ticket #294 . It will try it's best to let LLVM handle the alignment, and fall back to manual padding when that's not possible. If this causes problems again, we'll have to consistently pad manually using packed structs.
|
Fri, 15 May 2009 15:30:59 +0200 |
Tomas Lindquist Olsen |
Erm... Revert the rev [1352] change, the original code was correct ...
|
Thu, 14 May 2009 20:40:56 +0200 |
Frits van Bommel |
Re-apply [1346], which was reverted in [1348], now that padding should no longer
|
Thu, 14 May 2009 20:36:55 +0200 |
Frits van Bommel |
Remove struct padding when passing or returning in registers on x86-64 (extern(D) only)
|
Thu, 14 May 2009 17:23:55 +0200 |
Tomas Lindquist Olsen |
Oups, fix assertion condition in disabled code from rev [1351].
|
Thu, 14 May 2009 17:20:17 +0200 |
Tomas Lindquist Olsen |
Initial (but disabled) fix for ticket #294 , the actual part that fixes the bug is in a #if 0 block as I'm afraid it will cause regressions. I'm most likely not going to be around tonight, and maybe not tomorrow as well, so I'm pushing it in case someone wants to run some serious testing/investigate the problem noted in llvmhelpers.cpp : realignOffset .
|
Thu, 14 May 2009 13:26:40 +0200 |
Tomas Lindquist Olsen |
Adds explicit alignment information for alloca instructions in general, there's a few cases that still needs to be looked at but this should catch the majority. Fixes ticket #293 .
|
Wed, 13 May 2009 18:08:40 +0200 |
Christian Kamm |
Use getenv on Windows, closes #248.
|
Tue, 12 May 2009 16:53:43 +0200 |
Frits van Bommel |
Revert [1346] for now, it breaks because of padding :(
|
Tue, 12 May 2009 16:02:51 +0200 |
Frits van Bommel |
Remove some other code that tested for LLVM before r67588.
|
Tue, 12 May 2009 15:50:48 +0200 |
Frits van Bommel |
Remove an old workaround that was kept around for ABI-compatibility on x86-64
|
Mon, 11 May 2009 20:54:25 +0200 |
Tomas Lindquist Olsen |
Added error instead of assertion failure when trying to get !TypeInfo for a forward declared struct.
|
Mon, 11 May 2009 15:48:33 +0200 |
Frits van Bommel |
Re-enable consistency check for fixed LLVM versions.
|
Mon, 11 May 2009 11:59:22 +0200 |
Frits van Bommel |
Update for metadata changes in LLVM trunk.
|
Sun, 10 May 2009 22:26:04 +0200 |
Christian Kamm |
Fix DtoArrayCopyToSlice by passing length*sizeof(element) instead of just length to _d_array_slice_copy.
|
Sun, 10 May 2009 20:22:08 +0200 |
Frits van Bommel |
Run backend without optimizations when no optimization parameters were used,
|
Sun, 10 May 2009 18:14:36 +0200 |
Christian Kamm |
Fix the ldcbinarypath config file rewriting.
|
Sun, 10 May 2009 18:03:32 +0200 |
Christian Kamm |
Explicitly include string.h for strdup.
|
Sun, 10 May 2009 17:58:35 +0200 |
Christian Kamm |
Automated merge with http://hg.dsource.org/projects/ldc
|
Sun, 10 May 2009 17:58:09 +0200 |
Christian Kamm |
In config file: replace %%ldcbinarypath%% with the path to the ldc executable.
|
Sun, 10 May 2009 17:31:56 +0200 |
Tomas Lindquist Olsen |
Okay... Fix the assertion as well, since 20 really is enough yet it wanted MORE... Despite the message.
|
Sun, 10 May 2009 17:25:47 +0200 |
Tomas Lindquist Olsen |
Increased a buffer size in TypeInfo_StaticArray from 10 to 20 to avoid assertion failures! Thanks LeoD.
|
Sun, 10 May 2009 15:50:51 +0200 |
Tomas Lindquist Olsen |
Removed fix from rev [1331] since rev [1333] adds a more general fix that catches more cases!
|
Sun, 10 May 2009 15:42:23 +0200 |
Christian Kamm |
Backport D2 CTFE cast behavior to allow cast(char[])char[n] to succeed.
|
Sun, 10 May 2009 14:37:30 +0200 |
Tomas Lindquist Olsen |
Added testcase for #288 .
|
Sun, 10 May 2009 14:32:23 +0200 |
Tomas Lindquist Olsen |
Fixed CTFE evaluation on .dup . Fixes ticket #288 .
|