Commit Graph

3287 Commits

Author SHA1 Message Date
Jonathan MERCIER
d41ba74a82 Perfect bash completion for ldc2 2012-01-20 19:10:33 +01:00
David Nadlinger
1509bf1243 Merge pull request #61 from redstar/vs2010-2
Compile LDC2 with VS2010 64bit (LDC source changes only).
2012-01-13 10:42:37 -08: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
43057c64ec Temporary fixes for #60 and #59 until ldc1 frontend is not updated to the latest version 2012-01-10 22:09:22 +04:00
Alexey Prokhin
43365105ef Forgotten changes from 875ebcf 2012-01-10 21:46:40 +04:00
Alexey Prokhin
0f489f1bdc Merge branch 'master' of github.com:ldc-developers/ldc 2012-01-10 21:37:34 +04:00
Alexey Prokhin
b4b4e990e2 Fixed issue #58 — Multilib: 64 on 32 2012-01-10 21:36:19 +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
fb39835021 Fixed #56 — Null pointer deref in _d_arrayappendcTp with multithreaded code 2012-01-10 21:36:12 +04:00
Alexey Prokhin
0ab72a9ef2 Fixed #55 — Illegal instruction
Don't artificially set zero-length arrays to dimension 1.
2012-01-10 19:47:28 +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
e6521d87d3 Upstream memory_osx.d has been ported to D. 2011-12-22 02:44:32 +01:00
David Nadlinger
6350d8f255 Update druntime. 2011-12-22 02:44:19 +01: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
4e8afa8858 Fixed #47 — Compile-time segfault involving libpthread, _aaGet 2011-12-11 09:52:09 +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
23947489f7 Backported llvm3.0 intrinsic patch to ldc1 2011-12-07 19:36:14 +04:00
David Nadlinger
fa5fb9236a Fix druntime build when LIB_SUFFIX is used. 2011-12-07 16:20:09 +01: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
913eda6188 Fixed compilation of ldc1 2011-12-06 17:36:53 +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
Alexey Prokhin
7da47c4ee8 Restored old behavior of initialization of llvm targets.
LDC initializes only a llvm host target and targets that were explicitly
requested when building the program.
2011-12-05 21:41:37 +04:00
Alexey Prokhin
bb3908f290 Fixed #36 — ICE: DValue::getLVal(): Assertion '0' failed 2011-12-05 13:19:33 +04:00
Alexey Prokhin
2980f703b1 Fixed #35 — ICE: postfix operation on typedef'd value 2011-12-05 13:09:10 +04:00
Alexey Prokhin
4b22221eb9 Fixed #34 - StructType::setBody assert isOpaque() failed 2011-12-05 13:07:13 +04:00
David Nadlinger
f5182abca3 Pull in FreeBSD druntime build fix. 2011-12-05 00:01:07 +01:00
David Nadlinger
b0dd2e336d ldc/bitop.d no longer exists.
This fixes the install target broken after the big merge.
2011-12-04 20:58:26 +01:00
David Nadlinger
0b18b346f9 Renamed ldruntime back to druntime-ldc, as the name is hardcoded in the source.
Also took the opportunity to rename liblphobos2 to libphobos2-ldc as discussed on IRC, because this highlights the relationship to DMD's libphobos2 better e.g. when browsing through the file system.
2011-12-04 20:45:31 +01:00
David Nadlinger
74d7562a59 Moved druntime and Phobos submodules to runtime.
This makes much more sense since the subdirecotry also contains the build system for them, and reduces clutter.
2011-12-04 20:37:21 +01:00
David Nadlinger
38d1bf4cc8 Removed two (!) D1/Tango runtime build systems.
As discussed on IRC, Bob has been the default (and recommended) way to build Tango for LDC for quite some time now. Support for it in the CMake-based build system just created a big maintenance burden for (almost) no benefits. Besides, the build system was currently broken anyway.

The makefiles seemed to support building *.bc libs for Tango though, which Bob probably doesn't, which might be worth keeping in mind.
2011-12-04 20:21:56 +01:00
David Nadlinger
018c47762e Removed demos/.
These were last touched before the name change to LDC. Rest in peace.
2011-12-04 19:39:40 +01:00
David Nadlinger
6559246669 Don't needlessly copy over druntime/Phobos to build directory.
This reapplies d57637a0a1, which was lost in merging.
2011-12-04 18:53:20 +01:00
David Nadlinger
3916835380 Merge remote-tracking branch 'AlexeyProkhin/master' into merge-3.0
Conflicts:
	CMakeLists.txt
	druntime
	runtime/CMakeLists.txt
2011-12-04 18:38:09 +01:00
David Nadlinger
fe19ee84f5 Merge branch 'llvm3.0' into merge-3.0
Conflicts:
	gen/configfile.cpp
2011-12-04 18:16:36 +01:00
David Nadlinger
5458ebb0b2 Merge branch 'master' into merge-3.0 2011-12-04 18:15:21 +01:00
David Nadlinger
16cdb0c252 Whitespace cleanup. 2011-12-04 18:13:42 +01:00
David Nadlinger
d0ea856024 Emit all D inline asm labels as local labels.
On OS X, there is an actual significance to the distinction, which before lead e.g. to exception throwing in the below example being broken:

---
import core.exception;

void main() {
  asm {
    jmp Lfoo;
Lfoo:
    ;
  }
  throw cast(OutOfMemoryError)cast(void*)OutOfMemoryError.classinfo.init;
  assert(0);
}
---
2011-12-04 18:13:33 +01:00
Alexey Prokhin
cd732537e8 Fixed atomic_store and atomic_load instrinsics 2011-12-04 16:05:48 +04:00
Alexey Prokhin
784e3f1542 Fixed cases when debug info of a variable was emitted several times 2011-12-04 15:34:41 +04:00
Alexey Prokhin
91f4e5d015 Added emission of dwarf lexical blocks.
Also, dropped support for DISABLE_DEBUG_INFO definition.
2011-12-04 15:34:35 +04:00
Alexey Prokhin
cdeca718fc Merge branch 'master' of github.com:ldc-developers/ldc 2011-12-04 00:16:30 +04:00