Commit Graph

1340 Commits

Author SHA1 Message Date
Eldar Insafutdinov
a8398d64e8 Moved configfile to the driver 2012-04-03 21:18:16 +01:00
Eldar Insafutdinov
feefad412c Move cl_options out of LDCShared 2012-04-02 14:53:52 +01:00
Eldar Insafutdinov
71044056e4 split toobj.cpp and moved writeModule outside of LDCShared 2012-04-02 00:11:30 +01:00
Eldar Insafutdinov
0b411b873c Separated compiler from the driver into the shared library 2012-04-01 22:06:08 +01:00
Alexey Prokhin
f6111f23f2 Fixed #85 — ICE with a non-POD local struct literal in a class method 2012-03-06 10:47:24 +04:00
Alexey Prokhin
120bf4429c Partially reverted fix for #66.
ldc still supports -soname switch but does not set soname by default as
suggested in issue #66.
2012-03-06 10:29:37 +04:00
Alexey Prokhin
d69d2a835c Fixed #83 — ldc claim a main block when trying to build as shared lib 2012-03-06 10:29:31 +04:00
kai
53f9964b95 Fix LDC1 compile error. 2012-02-18 18:08:26 +01:00
Alexey Prokhin
ae7f0ca7e7 Preliminary vector support 2012-02-16 14:42:23 +04:00
Alexey Prokhin
8282153738 Removed special treatment of -property switch 2012-02-15 13:23:23 +04:00
Alexey Prokhin
6687a6624b Fixed #66 — -shared do not set a SONAME 2012-02-15 13:23:23 +04:00
Alexey Prokhin
fb5618e336 Fixed #65 — Renaming shared lib 2012-02-15 13:23:23 +04:00
Alexey Prokhin
8df15e7b64 Fixed #75 — "unhandled repainting of return value" with static array of consts 2012-02-15 13:23:23 +04:00
Alexey Prokhin
bb0d51fb98 Don't resolve template instances that were instantiated inside static if or statis assert 2012-02-15 13:23:23 +04:00
Alexey Prokhin
adebe4c732 DMD Issue 4269 - Regression(2.031): invalid type accepted if evaluated while errors are gagged 2012-02-15 13:23:23 +04:00
Alexey Prokhin
52c5c03495 Fixed segfault when compiling a non-constant case expression 2012-02-15 13:23:23 +04:00
Alexey Prokhin
9ace3fae3e DMD Issue 796 - Asserting a null object reference throws AssertError Failure internal\invariant.d(14) or Access Violation 2012-02-15 13:23:23 +04:00
Alexey Prokhin
fa361ed598 DMD Issue 4523 - [tdpl] .remove method for Associative Arrays returns void in all cases 2012-02-15 13:23:23 +04:00
Alexey Prokhin
b3ed8724b7 Fixed codegen of SwitchErrorStatement 2012-02-15 13:23:23 +04:00
Alexey Prokhin
eba8aac824 Fixed lambda inference 2012-02-15 13:23:22 +04:00
Alexey Prokhin
925303e334 New compact layout of ModuleInfo objects 2012-02-15 13:23:22 +04:00
Alexey Prokhin
e74e55df89 Merge 2.058beta 2012-02-15 13:23:16 +04:00
Alexey Prokhin
f2ed2e96b0 Use optimized array operators implemented in druntime 2012-02-15 13:16:34 +04:00
Alexey Prokhin
e0dc95052b Check count of arguments passed to ldc specific intrinsics 2012-02-15 13:16:34 +04:00
Alexey Prokhin
f237d85af0 Implemented bt/btc/btr/bts intrinsics 2012-02-15 13:16:34 +04:00
Alexey Prokhin
4d3ba3594c Refactoring: moved ldc specific code from dmd/attrib.c and dmd2/attrib.c into gen/pragma.cpp 2012-02-15 13:16:06 +04:00
David Nadlinger
72d510cb5e Emit floating-point integer quad word instructions with ll suffix.
The LLVM MC backend doesn't recognize the q suffix, which was previously used.

See llvm.org/bugs/show_bug.cgi?id=11935.

If this turns out to be a speed problem, it could be done using char[3].
2012-02-09 00:53:28 +01:00
kai
11786aeb35 Remove last traces of _DH.
With the merge of 1.072 the definition of _DH is no longer needed.
2012-02-04 20:36:59 +01:00
David Nadlinger
8062bb027a Merge pull request #71 from SiegeLord/master
Add the -property command line argument
2012-02-06 07:13:37 -08:00
kai
f9201e8352 Merge 1.072 2012-02-02 03:13:27 +01:00
SiegeLord
be9c6d03e5 Add -property command line argument 2012-01-30 18:35:09 -05:00
Alexey Prokhin
81082996e1 Fixed issue #68 — ICE on Associative Array Of Delegate Literals 2012-01-29 14:06:58 +04:00
Alexey Prokhin
15a903580b Partial fix for #69 — LDC1 from master fails to build Tango.
Fixed regression that has been introduced in commit 9889067.
2012-01-29 12:32:13 +04:00
kai
6726b5da13 Compile LDC2 with VS2010 64bit (LDC changes only).
Contains all changes necessary to LDC specific source to compile LDC2 with VS2010. See https://github.com/D-Programming-Language/dmd/pull/516 for necessary changes to DMDFE.
2012-01-11 07:49:21 +01:00
Alexey Prokhin
0f489f1bdc Merge branch 'master' of github.com:ldc-developers/ldc 2012-01-10 21:37:34 +04:00
Alexey Prokhin
875ebcf757 Fixed #46 — added missing option -wi 2012-01-10 21:36:19 +04:00
Alexey Prokhin
04ef3ee901 Fixed #50 — ICE on local import + -O3 2012-01-10 21:36:19 +04:00
Alexey Prokhin
9889067420 Fixed #53 — Assertion !isaStruct(t) 2012-01-10 19:46:32 +04:00
Alexey Prokhin
dbb6528c95 Fixed #54 — Error: invalid cast from 'typeof(null)' to 'void*' 2012-01-09 15:14:05 +04:00
David Nadlinger
3ba3b683af Restore alphabetical order to opcode table.
This fixes #57 and a few related issues.
2011-12-22 02:40:22 +01:00
Alexey Prokhin
b41688a0b8 DMD Issue 6859 - Segfault when abstract method uses with contract. 2011-12-16 20:15:31 +04:00
Alexey Prokhin
edc4a5f003 DMD Issue 5416 - null should have a type of its own 2011-12-16 20:15:10 +04:00
Alexey Prokhin
88cff99bd4 Merge dmdfe 2.057 2011-12-16 19:44:56 +04:00
Alexey Prokhin
dd6b89e182 Issue #42 — Multilib: --no-warn-search-mismatch.
Pass -Xlinker before every additional linker switch, so gcc will,
in its turn, pass the switch to ld.
2011-12-09 12:49:05 +04:00
Alexey Prokhin
eb6809a530 Fixed #41 — Casting Associative Arrays To Immutable 2011-12-09 12:22:12 +04:00
Alexey Prokhin
641cc85e64 Added -shared switch.
If the flag is passed, ldc will create a shared library not an executable file.
2011-12-06 19:43:14 +04:00
Alexey Prokhin
fdead0d154 Fixed #21 — Added -lib switch 2011-12-06 17:24:49 +04:00
Alexey Prokhin
859ae8481f That was committed by mistake 2011-12-06 14:43:05 +04:00
Alexey Prokhin
8b50928636 Fixed #37 — ICE: llvm::GlobalVariable::setInitializer assert failed 2011-12-06 13:55:01 +04:00
Alexey Prokhin
f8bf70ff7a Fixed an assert when compiling derelict.
The assert was triggered by a line similar to this:
   extern(C) void func(float[4] a1, float[4] a2, float[4] a3, float[4] a4, float[4] a5);
2011-12-06 13:14:57 +04:00