David Nadlinger
288fd47707
Merged 1.075 frontend.
2012-11-24 21:10:13 +01: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
kai
8a20415cd1
Fix white space.
2012-03-06 07:28:29 +01:00
kai
f9201e8352
Merge 1.072
2012-02-02 03:13:27 +01:00
Alexey Prokhin
629f13929e
WIP: port to llvm 3.0
2011-10-25 15:43:39 +04:00
Alexey Prokhin
6bc2431b6b
Skip unittests in imported modules
2011-04-30 15:30:57 +04:00
Alexey Prokhin
d0c11fbcb2
Updated phobos.patch. Fixed compilation of ldc1
2011-01-08 13:06:44 +03:00
Alexey Prokhin
d1ff4e9fd3
Fix compilation of ldc1
2011-01-04 20:59:39 +03:00
Moritz Warning
f654235139
fixes #432 :: apply DMDFE 1.063; thanks SiegeLord
2010-09-27 00:07:03 +02:00
Moritz Warning
ac5180b65b
fixes #426 :: detab'ing the DMDFE source; kudos SiegeLord
2010-09-05 19:04:26 +02:00
Matti Niemenmaa
7edb3d1875
Don't error out with -singleobj, -of, and -c/-output-{bc,ll,o,s}.
2010-03-09 23:20:39 +02:00
Christian Kamm
1d488da835
Merge DMD 1.057.
2010-03-08 21:39:20 +01:00
Robert Clipsham
daa102a5cd
Merge dmd 1.056.
2010-02-06 15:53:52 +00:00
Christian Kamm
3479e91996
Merge DMD 1.051
2009-11-06 23:58:01 +01:00
Benjamin Kramer
0ee2f34611
Don't use llvm::getGlobalContext() anymore
2009-07-13 20:16:15 +02:00
Tomas Lindquist Olsen
c0f2af5afd
Added IrTypeFunction and IrTypeDelegate and eliminated IrDType. This means the Type::ir field can be removed. It's the final part needed for the move to a slightly more sane type system. Now the whole thing just needs to be cleaned up :P
...
Added -v-cg switch, which right now just prints "codegen: module.name (module/name.d)" to stdout, this can really help figuring out where, in some complex build command, things go wrong.
2009-05-16 18:19:52 +02:00
Tomas Lindquist Olsen
daef67acc3
Changed use of toObjFile to a new codegen method.
...
More versioning of DMD specific codegen code.
2009-03-27 17:54:27 +01:00
Tomas Lindquist Olsen
c42c90ea80
* Moved ir/irsymbol.cpp/h into ir/irdsymbol.cpp/h.
...
* Added #if IN_DMD versioning around DMD backend specific code in the D1 frontend, D2 is currently broken.
* All part of a greater cleanup scheme.
2009-03-26 20:45:53 +01:00
Tomas Lindquist Olsen
8b751cce0e
- Updated to DMD frontend 1.041.
...
- Removed dmd/inifile.c , it's not under a free license, replaced with libconfig based config file.
2009-03-12 20:37:27 +01:00
Christian Kamm
95f12f04f1
Add '-singleobj' command line switch that will tell LDC to link LLVM modules internally and only emit a single object file.
...
The switch allows the optimizer and inliner to run on all modules at once and opens the door for template instantiation improvements that should lower compile time and executable size.
2009-03-07 19:38:00 +01:00
Christian Kamm
5471533dd0
Backed out changeset [369996c08420].
...
The argument and order dependent numbering of static ctors/dtors generally doesn't matter
because other modules shouldn't reference their symbols. The next changeset
will fix a LDC bug that caused such references within ModuleInfo.
2009-02-15 14:50:33 +01:00
Christian Kamm
89bf7d82d7
Change the numbering of static ctors/dtors to be module based instead of being global.
...
This fixes #210 by making sure that the static ctor always gets the same
number, regardless of the order of the modules given at the command line.
2009-02-15 11:46:28 +01:00
Tomas Lindquist Olsen
16409a3367
Merged DMD 1.038
2009-01-06 16:33:51 +01:00
Christian Kamm
dabe5d3efd
Remove unportable env-sanitizing code. If it is really needed, it needs to be
...
rethought. Closes #131 .
2008-12-14 16:30:06 +01:00
Christian Kamm
16b38a7fef
Fix compile-time warnings. Adjust include in d-asm-i386.
2008-11-03 12:35:29 +01:00
Tomas Lindquist Olsen
202c4f7bc2
Changed premake.lua to work with mingw.
...
Implemented array operations, not perfect but ok for tonight. closes #89
2008-10-13 23:19:32 +02:00
Christian Kamm
1bfc0316aa
Make ldc call gcc to assemble.
2008-10-11 20:00:36 +02:00
Christian Kamm
a3a418150e
Some missed LLVMDC -> LDC.
2008-10-06 22:54:08 +02:00
Christian Kamm
713a734d58
Make creating and deleting of doc and hdr files dependent on whether doc and
...
hdr files are to be generated.
Fixes html_empty_01,02
2008-09-16 09:00:05 +02:00
Christian Kamm
d44f21687e
Restructure path handling a bit. Fixes #66 .
2008-09-06 12:27:27 +02:00
Tomas Lindquist Olsen
9d7f16b967
Added pragma(llvmdc, "string") for misc per-module compiler configuration, currently "string" can only be "verbose" which forces -vv for module it appears in.
...
Reimplemented support for nested functions/class using a new approach.
Added error on taking address of intrinsic.
Fixed problems with the ->syntaxCopy of TypeFunction delegate exp.
Removed DtoDType and replaced all uses with ->toBasetype() instead.
Removed unused inplace stuff.
Fixed a bunch of issues in the runtime unittests, not complete yet.
Added mini tests.
2008-08-10 08:37:38 +02:00
elrood
dbe905604b
fixed configuration file loading issues on windows
2008-07-29 21:52:25 +02:00
Tomas Lindquist Olsen
832504e5d7
[svn r357] Merged DMD 1.033
2008-07-12 19:38:31 +02:00
Christian Kamm
24726394f6
[svn r172] moving all IR state previously stored in Dsymbol into IrDsymbol and a Dsymbol->IrDsymbol map
2008-05-01 13:05:53 +02:00
Tomas Lindquist Olsen
94c47aa1fa
[svn r143] Fixed: a few bugs in debug information, still only line info, but should be correct files now :)
...
Fixed: tango.io.Console seems to be working now.
2008-01-22 00:01:16 +01:00
Tomas Lindquist Olsen
4428e47a66
[svn r134] Merged the DMD 1.024 frontend.
...
Added std.base64.
2007-12-28 23:52:40 +01:00
Tomas Lindquist Olsen
3b4c818082
[svn r98] Added support for std.c.stdlib.alloca via pragma(LLVM_internal, "alloca").
...
Added support for array .sort and .reverse properties.
Fixed some bugs with pointer arithmetic.
Disabled some DMD AST optimizations that was messing things up, destroying valuable information.
Added a KDevelop project file, this is what I use for coding LLVMDC now :)
Other minor stuff.
2007-11-12 06:32:46 +01:00
Tomas Lindquist Olsen
48492229ec
[svn r90] Major updates to the gen directory. Redesigned the 'elem' struct. Much more... !!!
...
Lots of bugfixes.
Added support for special foreach on strings.
Added std.array, std.utf, std.ctype and std.uni to phobos.
Changed all the .c files in the gen dir to .cpp (it *is* C++ after all)
2007-11-03 14:44:58 +01:00
Tomas Lindquist Olsen
5fee3fc8b7
[svn r56] Initial support for TypeInfo.
...
Enums not work.
Several other bugfixes.
2007-10-23 05:55:12 +02:00
Tomas Lindquist Olsen
34699bbb07
[svn r5] Initial commit. Most things are very rough.
2007-09-01 21:43:27 +02:00