Kai Nacke
9ca929802b
Implement -allinst, -d, -de and -dw in ldmd.
2015-04-09 20:20:47 +02:00
Kai Nacke
8e7637c59e
Fix merge error in ldmd
2015-04-08 22:45:42 +02:00
Kai Nacke
ac7f8c70f8
Merge branch 'master' into merge-2.067
...
Conflicts:
dmd2/mars.h
driver/ldmd.cpp
gen/module.cpp
2015-04-08 22:23:50 +02:00
Johan Engelen
505f18ca2a
Add coverage analysis ("-cov=...") to ldc2
2015-04-07 22:11:02 +02:00
Dan Olson
1c9329deb8
Add new dmd -verrors option
2015-04-05 23:53:20 -07:00
Kai Nacke
fe6397f336
Add dummy -conf option to ldmd
2015-03-24 19:51:09 +01:00
David Nadlinger
8000ae3c7d
ldmd: Correctly emit -m32.
...
GitHub: #824 .
2015-01-13 23:42:37 +01:00
kai
6e72ecbc4f
LLVM 3.6: Name and signature of FindProrammByName changed.
2014-11-06 07:54:45 +01:00
kai
42905bc462
Implement missing -boundscheck switch in ldmd.
...
This was reported in the newsgroup by Daniel N.
2014-10-25 19:05:15 +02:00
Alexey Prokhin
a81c6c6f48
Add -enable-color/-disable-color switches
2014-09-06 20:30:19 +04:00
Andreas Hollandt
7524bff42b
fix LLVM 3.5 regression introduced by 0d168ed
2014-07-21 18:29:31 +02:00
kai
0d168ed570
Fix LLVM 3.5 build.
...
llvm::errc::success was removed during transition to std::errc.
2014-06-06 12:14:50 +02:00
kai
86ecc4160a
Fix semantic changes in LLVM 3.5.
2014-05-07 06:59:15 +02:00
kai
36ad7e8e2c
ldmd should not pass -singleobj to ldc2 if a static lib is build.
...
dmd has the same behaviour. This fixes issue #579 .
2014-02-05 06:52:07 +01:00
Kai Nacke
1f204ba9c5
Fix a c++11 issue
2014-01-03 15:01:39 +01:00
David Nadlinger
883fd768d3
LDMD: Properly initialize Params::targetModel.
2013-10-21 13:55:49 +02:00
David Nadlinger
a2a3e400c9
LDMD: Avoid unitialized data.
...
Found using Valgrind.
2013-10-09 19:50:28 +02:00
David Nadlinger
7b8a85a8df
Fix prependMainExecutablePath for LLVM 3.4.
2013-10-08 17:56:10 +02:00
David Nadlinger
ca82589e25
Merge pull request #482 from klickverbot/ldmd-create-directory
...
LDMD: Create output directories if they do not exist.
2013-10-03 19:21:23 -07:00
David Nadlinger
7f20de16cf
LDMD: Create output directories if they do not exist.
...
There might be other cases using the LLVM output code as well
that I haven't handled here, but the changes are sufficient to
make LDC work with rdmd on Linux.
GitHub: Fixes #480 .
2013-10-02 18:09:47 +02:00
David Nadlinger
c58c833be9
Trivial indentation fix.
2013-10-02 18:02:41 +02:00
David Nadlinger
cf18366c46
LDMD: Ignore -quiet, it is the default.
...
GitHub: Fixes #472 .
2013-09-21 18:31:14 +02:00
David Nadlinger
b3d8c497e1
Remove leftover D1-only comment.
2013-09-07 22:14:07 +02:00
kai
399a0396d2
Fix for issue #467 and partial fir for issue #455
2013-09-06 22:46:06 +02:00
kai
ecf40bef59
Reverting last commit as it breaks a test
2013-09-06 22:30:02 +02:00
kai
1ce6e18a6e
Fix for issue #467
2013-09-06 21:58:50 +02:00
kai
9fd5d42e46
Fix ldmd using LLVM 3.4.
...
unique_file was renamed to createUniqueFile.
2013-07-07 15:34:09 +02:00
kai
508bf67e2d
Fix a gcc 4.4.7 issue and an LLVM 3.4 oversight.
2013-06-29 17:24:03 +02:00
kai
707c134d6e
Make ldmd source compatible with LLVM 3.4.
2013-06-29 16:10:52 +02:00
kai
96601b33fa
Fix ldmd for LLVM 3.4
...
The Path::canExecute() method is gone. As a first fix just copy the source.
2013-06-22 16:58:56 +02:00
David Nadlinger
31d85d0910
Merge pull request #398 from ldc-developers/merge-2.063
...
DMD 2.063.1 merge
2013-06-17 14:04:36 -07:00
David Nadlinger
bed6243481
LDC does not support -transition yet.
2013-06-15 22:57:57 +02:00
kai
9f921b25d9
Make ldmd compatible with LLVM 3.4
...
Development of LLVM 3.4 started with a cleanup of the path class (PathV1).
The changes here let ldmd compile at least with rev. 184039 of LLVM.
2013-06-15 19:13:45 +02:00
David Nadlinger
b2f2afad29
LDMD: Made error message on compiler execution error clearer.
...
It is also triggered when the compiler exits with a signal, etc.
2013-06-07 03:20:32 +02:00
David Nadlinger
ec59399e21
Change all URLs to point to wiki.dlang.org for the time being.
2013-06-02 21:27:02 +02:00
kai
b13f3d3164
Merge branch 'master' into merge-2.062
...
Conflicts:
runtime/druntime
2013-03-24 19:39:39 +01:00
David Nadlinger
bb5b60e591
Make '-O' equivalent to '-O3'.
...
I have seen it used several times in benchmarks comparing it
to 'gdc -O3' and 'dmd -O -inline' now, so people apparently
expect it to yield the highest available optimization level.
2013-03-17 02:09:54 +01:00
David Nadlinger
32eb24eebf
Added '-Hkeep-all-bodies' switch.
...
The same behavior is triggered by the '-inline' switch for
DMD, but this doesn't quite translate to LDC.
2013-03-16 11:52:19 +01:00
jaten
6f6c776e9c
initialize Params properly in constructor.
2013-03-11 00:38:43 -07:00
kai
1e4a8fffc2
Remove DMDV1 and DMDV2.
2013-03-06 10:20:24 +01:00
David Nadlinger
0a96aea868
Sort includes according to style guidelines:
...
1. Main include corresponding to .cpp file, if any.
2. DMD and LDC includes.
3. LLVM includes.
4. System includes.
Also updated a few include guards to match the default format.
2013-02-07 21:20:55 +01:00
David Nadlinger
43ca6a9581
LDMD: Fix -deps generation.
2013-01-04 16:48:10 +01:00
David Nadlinger
5c518a16ec
Merged 2.061 frontend.
2013-01-04 06:22:53 +01:00
David Nadlinger
615a2b5839
LDMD: Fixed -run parameter parsing.
2013-01-03 21:12:56 +01:00
David Nadlinger
59a4a02e49
Cleanup: Avoid signed/unsigned comparisons.
...
The ones ones left are for DMD-defined constants.
2012-12-20 01:21:09 +01:00
David Nadlinger
2f54d8ec86
Fixed LDMD help output indentation.
2012-12-16 18:07:53 +01:00
David Nadlinger
9458911839
Added LLVM-style license headers to all our files.
2012-12-16 17:19:14 +01:00
David Nadlinger
fece2d2641
LDMD: Don't enable -singleobj for D1.
2012-11-24 23:19:11 +01:00
David Nadlinger
049f482208
Removed extra dash in "-singleobj" emitted by LDMD.
...
Purely cosmetic change.
2012-11-24 12:32:18 +01:00
David Nadlinger
7708d2e27a
Added '-vdmd' option to LDMD.
...
The name is not optimal; it has been chosen for GDC compatibility.
Thanks to Jonathan Mercier for the original patch.
2012-11-07 00:14:40 +01:00