David Nadlinger
b11c49a9c9
Fix D1 build.
...
This applies the changes from 9a3cdf2e to dmd/ as well.
2012-09-16 22:04:39 +02:00
kai
1c6ff32d50
Merge dmd-1.074 into ldc.
2012-04-13 23:12:46 +02: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
kai
04b3d72cfe
Fix for issue #60 .
2012-02-03 17:20:18 +01:00
kai
f9201e8352
Merge 1.072
2012-02-02 03:13:27 +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
4e8afa8858
Fixed #47 — Compile-time segfault involving libpthread, _aaGet
2011-12-11 09:52:09 +04: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
c4e255206a
fixes #431 :: apply DMDFE 1.062; thanks SiegeLord
2010-09-27 00:06:28 +02:00
Moritz Warning
ac5180b65b
fixes #426 :: detab'ing the DMDFE source; kudos SiegeLord
2010-09-05 19:04:26 +02:00
Moritz Warning
fbba26f9bb
fixes #425 :: Upgrade to DMDFE 1.058 patch; big thanks to SiegeLord
2010-09-04 12:42:38 +02:00
Matti Niemenmaa
57778a3904
Don't remove an old .o with -output-{bc,ll,s}.
2010-03-09 23:21:48 +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
Tomas Lindquist Olsen
d52ea51df4
Added check and error in case two same named modules - with different packages and compiled at once - would overwrite each other's output files.
2009-08-02 18:37:07 +02:00
Kelly Wilson
d21cdb1df0
Changes for mingw to compile properly
2009-04-22 14:49:49 -06:00
Tomas Lindquist Olsen
3d1f8cc565
Merged DMD 1.042.
2009-04-03 17:59:34 +02: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
3ac45285fc
Cleanup DMD 1.041 merge.
2009-03-23 20:26:33 +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
Frits van Bommel
b3d87205ad
Use LLVM-style command line (instead of DMD-style)
...
Note: For a backward compatible interface, use the new bin/ldmd script. It
supports all old options while passing on anything it doesn't recognize.
Some changes caused by this:
* -debug and -version are now -d-debug and -d-version due to a conflict with
standard LLVM options.
* All "flag" options now allow an optional =true/=1/=false/=0 suffix.
* Some "hidden debug switches" starting with "--" were renamed because LLVM
doesn't care about the number of dashes, so they were conflicting with other
options (such as -c).
The new versions start with "-hidden-debug-" instead of "--"
* --help works, but has a non-zero exit code. This breaks some Tango scripts
which use it to test for compiler existence. See tango.patch.
Some changes not (directly) caused by this;
* (-enable/-disable)-FOO options are now available for pre- and postconditions.
* -march is used instead of -m (like other LLVM programs), but -m is an alias
for it.
* -defaultlib, -debuglib, -d-debug and -d-version allow comma-separated values.
The effect should be identical to specifying the same option multiple times.
I decided against allowing these for some other options because paths might
contain commas on some systems.
* -fPIC is removed in favor of the standard LLVM option -relocation-model=pic
Bug:
* If -run is specified as the last argument in DFLAGS, no error is generated.
(Not very serious IMHO)
2009-02-25 17:34:51 +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
e7f750aee1
Apply BlueZeniX's patch for OpenSolaris compatibility. Fixes #158 .
2009-01-04 15:49:28 +01:00
Christian Kamm
16b38a7fef
Fix compile-time warnings. Adjust include in d-asm-i386.
2008-11-03 12:35:29 +01:00
Christian Kamm
6c532ac149
Hopefully sensible command switch handling. Changed default ext to .o on Windows.
2008-10-16 22:07:02 +02:00
Christian Kamm
73d7a299c9
Disable bc output by default. Remove -dis. Add -output-bc, -output-ll, -output-s.
...
Call to gcc to convert assembly to object file still required.
2008-10-11 13:07:59 +02:00
Christian Kamm
a3a418150e
Some missed LLVMDC -> LDC.
2008-10-06 22:54:08 +02:00
Christian Kamm
f4da5f4a89
Fix -oq, closes #96
...
Add value debug output to RealExp::toConstElem.
2008-10-03 19:24:46 +02:00
Christian Kamm
12c81a2ee3
Don't delete the header file after it has been generated!
2008-09-21 17:35:27 +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
431bc19d2f
To prevert source-overwriting in the future, forbit output files with the same
...
name as the source file.
2008-09-14 22:49:19 +02:00
Christian Kamm
151f86630c
Fix path handling, hopefully.
2008-09-14 22:08:39 +02:00
Christian Kamm
cc568d6820
Fix output files being .d.bc. They're now .bc again.
2008-09-14 19:51:38 +02:00
Christian Kamm
d44f21687e
Restructure path handling a bit. Fixes #66 .
2008-09-06 12:27:27 +02:00
Tomas Lindquist Olsen
c65cd45966
Removed unimplemented switches.
2008-08-26 21:02:25 +02:00
Tomas Lindquist Olsen
5aae7a6bee
Merged DMD 1.034, array operations are not yet implemented ;)
2008-08-14 06:55:41 +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
Tomas Lindquist Olsen
832504e5d7
[svn r357] Merged DMD 1.033
2008-07-12 19:38:31 +02:00
Tomas Lindquist Olsen
5647598da9
[svn r306] Fixed: it's now possible to compile and link llvmdc with MinGW32 and msys on Win32 :D I tried it myself ;) Building the runtime still needs some work, but it's a step in the right direction.
2008-06-21 03:14:49 +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