kai
175810bdab
Consolidate all MSVC related files for LDC/LDC2 in 1 folder.
2012-06-06 17:32:47 +02:00
kai
086e0d251b
Latest changes to compile LDC with MSVC.
2012-06-06 17:29:21 +02:00
kai
30cc6e309a
Add more files required for MSVC.
2012-06-01 17:49:28 +02:00
David Nadlinger
1805e534b2
Fix issue 97 - <<= broken for LDC 1.
...
This code path was introduced in the 1.074 merge.
2012-05-25 15:54:42 +02:00
kai
1c6ff32d50
Merge dmd-1.074 into ldc.
2012-04-13 23:12:46 +02:00
kai
f1998a6110
Minimize differences between original dmd source and ldc1.
...
Mainly affects formatting but I also found some code differences.
2012-04-10 21:52:12 +02:00
Eldar Insafutdinov
30b20794c7
Fix D1 frontend
2012-04-02 16:43:46 +01:00
kai
e5f2430855
Remove unused member VarDeclaration::anonDecl.
2012-03-28 06:57:17 +02:00
kai
e739102374
Removed unused member VarDeclaration::offset2.
2012-03-27 07:13:55 +02:00
kai
0a9ba4d283
Move additional #include inside IN_LLVM section.
2012-03-25 15:19:25 +02:00
kai
2433b74460
Add some upcoming changes from 2.059/1.074 which helps compiling with MSC.
2012-03-22 21:01:43 +01:00
kai
dee054fae0
Small code cleanup.
...
- Wraps some LDC specific code in 'IN_LLVM' section
- Adds some MSVC specific code to 'IN_LLVM' section
- Removes an unused include file
Net result is much less errors with MSVC.
2012-03-15 07:11:54 +01:00
kai
d6396bbddf
Fix error with va_arg in 64 bit mode.
2012-03-06 07:29:43 +01:00
kai
8a20415cd1
Fix white space.
2012-03-06 07:28:29 +01:00
kai
a23b837ebd
Merge dmd-1.073.
2012-02-23 20:41:22 +01: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
kai
04b3d72cfe
Fix for issue #60 .
2012-02-03 17:20:18 +01:00
kai
37ed7cdbae
Added missing initialization.
2012-02-03 16:51:11 +01:00
kai
f9201e8352
Merge 1.072
2012-02-02 03:13:27 +01:00
David Nadlinger
efcbe8390a
Work around macro redefinition warning (darwin11-llvm-gcc-4.2).
2012-01-23 21:42:02 +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
edc4a5f003
DMD Issue 5416 - null should have a type of its own
2011-12-16 20:15:10 +04:00
Alexey Prokhin
4e8afa8858
Fixed #47 — Compile-time segfault involving libpthread, _aaGet
2011-12-11 09:52:09 +04:00
Alexey Prokhin
23947489f7
Backported llvm3.0 intrinsic patch to ldc1
2011-12-07 19:36:14 +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
913eda6188
Fixed compilation of ldc1
2011-12-06 17:36:53 +04:00
Alexey Prokhin
6357c421ac
Updated ldc version and homepage
2011-12-03 13:52:05 +04:00
Alexey Prokhin
7431d58702
Rewritten initialization of global variables.
2011-10-25 15:43:49 +04:00
Alexey Prokhin
629f13929e
WIP: port to llvm 3.0
2011-10-25 15:43:39 +04:00
David Nadlinger
21a05aa971
Merge branch 'default' into 'merge'.
2011-07-29 00:37:30 +02:00
David Nadlinger
15c5316e26
Prevent two function with same mangled name but different types from being declared.
...
Previously, LDC would crash in the backend due to the fact that the IR is typed in such cases (we recently had such an instance with Tango, where an extern( C ) function was declared once with int and once with size_t).
2011-07-27 23:01:22 +02:00
Alexey Prokhin
a41b822420
Fixed ldc1 compilation
2011-07-26 09:30:36 +04:00
Alexey Prokhin
7a31b599cc
Updated to dmdfe 2.054
2011-07-19 19:20:38 +04:00
Moritz Warning
5824fe4da7
fixes #450 :: real inside a class breaks interface casting on x86_64; patch by prokhin_alexey
2011-05-01 20:05:49 +02:00
Alexey Prokhin
316e3b6fe7
That should really be in rev.1954
2011-04-30 17:35:35 +04:00
Alexey Prokhin
6bc2431b6b
Skip unittests in imported modules
2011-04-30 15:30:57 +04:00
David Nadlinger
8a878fd1d4
Merged DMD commit bb29b7eba53cedf52c732bebd8bd11c042f89da9:
...
fix line ending
---
This is the last commit in the series of merges to the DMD front-end 1.067. The vararg-related changes (e.g. DMD commit d759ab9a5db02a13b923922264751b4a6d0eb9df and 1a7126117786e5c1bc80ea74e1f5bc97cc20d51c, __argTypes, etc.) have not been merged yet.
2011-04-23 21:54:47 +02:00
David Nadlinger
dd2c12f2c0
Merged DMD commit ac11d09afb39556fd995fba2481c274e40437d39:
...
merge
2011-04-23 18:33:57 +02:00
David Nadlinger
ccbbd2b83e
Merged DMD commit 2a9312002c04ccbcc50fc3bb16bd4fbda0841521:
...
merge ibuclaw-master
2011-04-23 18:32:23 +02:00
David Nadlinger
d571eea5e0
Merged DMD commit d19e57c3f0683ac3a0b290f5b73deb86aa1a6441:
...
5105 Member function template cannot be synchronized
Patch by rsinfu
2011-04-23 18:31:07 +02:00
David Nadlinger
907067c4e8
Merged DMD commit c7f94c6b66d3b4233ea01dd3dd9f0028b7118870:
...
5391 Crash with recursive alias declaration
When a recursive alias declaration is encountered, mark it as
type error (not just as an alias to itself of type error).
2011-04-23 18:29:18 +02:00
David Nadlinger
d7eead617e
Merged DMD commit c7f94c6b66d3b4233ea01dd3dd9f0028b7118870:
...
5349 ICE(toir.c): nested class in static member function
When checking if a nested class can reach a parent class, it should not be
possible to jump through static functions. Static member functions were just
being silently ignored, which meant nonsense was passed to the backend.
(Didn't always cause an ICE, sometimes generates nonsense code).
2011-04-23 18:28:36 +02:00
David Nadlinger
3cf9988681
Merged DMD commit b46fe402cff4618f5d49f99d71b8fefb764e16e5:
...
Support HTML5 entities
Patch by ibuclaw and aziz.koeksal
2011-04-23 18:28:03 +02:00
David Nadlinger
3a9e13f2a7
Merged DMD commit ed05e53c187deb7feef7e542b1047dc98104840f:
...
Add link html entity document found by Aziz
2011-04-23 18:25:11 +02:00
David Nadlinger
1432a60a8b
Merged DMD commit f8352960ff2b0533740e29e34bc86d632c8967bf:
...
4245 Declaring conflicting symbols in single function scope allowed
Merged D2->D1
2011-04-23 18:17:13 +02:00
David Nadlinger
2c0f68b5d2
Merged DMD commit 645b5d8797768bced8db0c32dfa03e9290d0ced0:
...
5248 CTFE Segfault when calling a function on an enum struct
Fix the D1 version of this bug, which causes a stack overflow
rather than a segfault:
compiler inserts assert(this, "null this") whereas for D2 it is
assert(&this, "null this")
2011-04-23 18:16:33 +02:00
David Nadlinger
8ba89d5187
Merged DMD commit 66a45813b0e88e3167ce8cf10a399951a95312e4:
...
5221 entity.c: Merge Walter's list with Thomas'
Merged from D2
2011-04-23 18:21:35 +02:00
David Nadlinger
68db93d40c
Changed dmd/entity.c line endings to LF.
2011-04-23 18:20:59 +02:00
David Nadlinger
f0cc2ed42e
Merged DMD commit c0d4f02e996e7913f729102a2c07eedcb015ba90:
...
4878 DDoc: Default arguments can break DDoc output
Merged from D2 into D1
2011-04-23 17:43:25 +02:00