David Nadlinger
36e9465b7a
driver: Factor out entry point module emission code.
2014-07-09 15:35:06 +02:00
David Nadlinger
3563225a5e
Paste flags from config file in front of command line arguments.
...
This way, the user can override any defaults defined in the
config file.
2014-07-04 18:54:28 +02:00
David Nadlinger
d895c7f26d
Make -defaultlib/-debuglib override instead of append; deprecate -nodefaultlib.
...
This is necessary as the only point of having -defaultlib
and -debuglib is to enable the user to customize the defaults
set in the configuration, for example to avoid linking to
Phobos.
GitHub: Fixes #416 .
GitHub: Fixes #601 .
2014-07-04 18:54:28 +02:00
David Nadlinger
407adffa9e
Hide '-disable-debug-info-verifier'.
2014-06-30 18:15:37 +02:00
David Nadlinger
d8a7ae1841
Use --gc-sections on Linux.
...
This was painful.
2014-06-30 16:18:15 +02:00
David Nadlinger
5e5e25a1ce
Hide some more LLVM-internal command line args.
2014-06-30 00:32:39 +02:00
kai
e62bbc97a2
Add more cpu architectures for LLVM 3.5
...
ppc64le, amd64, amd64_eb and armeb have been added to LLVM 3.5.
2014-06-28 18:15:46 +02:00
kai
8abfc2f35c
Merge branch 'release-0.13.0'
2014-06-27 23:38:03 +02:00
kai
57419a59b4
Fix build with LLVM 3.5
...
Method codegenModule() used a FunctionPassManager instead of a PassManager. This results in an assertion failure.
Also initialize one more pass.
2014-06-27 22:26:33 +02:00
kai
b7615f6a28
Merge branch 'master' into merge-2.065
...
Conflicts:
dmd2/declaration.h
dmd2/dsymbol.h
dmd2/func.c
gen/functions.cpp
gen/toir.cpp
runtime/druntime
2014-06-23 07:57:30 +02:00
kai
7c289fd673
Introduce needsCodegen.
...
This is a backport of the code from 2.065.
2014-06-19 13:20:28 +02:00
Kai Nacke
92c06dede0
Merge branch 'merge-2.064' into merge-2.065
...
Conflicts:
runtime/druntime
2014-05-10 21:38:37 +02:00
kai
e2a0b93645
Add binary and version information to verbose output.
...
The same information is printed by DMD. Also format list of predefined version identifiers to (roughly) 80 columns.
2014-04-29 07:07:52 +02:00
kai
456924116b
Merge branch 'merge-2.064' into merge-2.065
2014-04-05 22:37:27 +02:00
Kai Nacke
38ab450c56
Print target information, version identifiers and linker commands in verbose output (-v).
2014-04-05 22:13:39 +02:00
Kai Nacke
a1e73fa609
Merge branch 'merge-2.064' into merge-2.065
2014-03-30 22:59:15 +02:00
Kai Nacke
38c98c3584
Add version identifiers of MIPS ABI.
...
Parses the feature string and appends the required ABI feature.
Uses the feature string to define the version identifier.
2014-03-30 22:39:05 +02:00
Kai Nacke
fa289d9e0c
Remove long deprecated version identifiers
2014-03-29 23:33:15 +01:00
Kai Nacke
87d07a8f32
Merge branch 'merge-2.064' into merge-2.065
2014-03-29 23:14:28 +01:00
Kai Nacke
f85d2e071f
Fix an annoying warning
2014-03-29 23:14:03 +01:00
Kai Nacke
7669191636
Merge branch 'merge-2.064' into merge-2.065
2014-03-23 15:38:46 +01:00
Kai Nacke
3eda031fe8
Dump all predefined version identifiers if logger is enabled.
2014-03-23 15:36:14 +01:00
Kai Nacke
230e174c5f
Add predefined version identifier for float ABI.
2014-03-23 15:27:07 +01:00
kai
f8a53ab3dc
Merge branch 'merge-2.064' into merge-2.065
...
Conflicts:
runtime/druntime
2014-03-12 18:27:43 +01:00
kai
6442d79b8b
Finally enable the vectorizer (at least in LLVM 3.5).
...
It still requires verification if this works with LLVM 3.4. Problem was the changed
initialisation of passes in LLVM 3.4/3.5.
2014-03-12 17:12:25 +01:00
kai
2f2fa92df3
Fix includes for LLVM 3.5
2014-03-07 06:40:39 +01:00
Kai Nacke
82ec8e9468
Merge branch 'merge-2.064' into merge-2.065
...
Conflicts:
dmd2/cond.c
2014-03-05 19:10:46 +01:00
Kai Nacke
5b14a5e5c4
Merge branch 'master' into merge-2.064
2014-03-05 19:08:50 +01:00
Kai Nacke
6e908ff525
Add new architecture aarch64_be.
2014-03-05 19:01:43 +01:00
Kai Nacke
860ac74415
NVPTX/NVPTX64 is not available in LLVM 3.1.
2014-03-05 18:54:01 +01:00
Kai Nacke
7f44320dd0
Merge branch 'master' into merge-2.064
2014-03-05 18:48:11 +01:00
Kai Nacke
e735efc6aa
Add version identifier for Nvidia PTX.
2014-03-05 18:47:28 +01:00
Kai Nacke
fe39da53e3
Merge of 2.065.0-b3.
...
The new visitor class is used for IR generation. This removes some modifications from DMD source.
2014-02-10 08:47:25 +01:00
Kai Nacke
bdc1f44088
Merge remote-tracking branch 'origin/master' into merge-2.064
...
Conflicts:
gen/runtime.cpp
runtime/CMakeLists.txt
2013-12-08 19:29:10 +01:00
Kai Nacke
a2d7c9f3ed
Only define version Android if compiling for this environment.
...
Android is a variant of Linux. In order to simplify the version coding,
only version Android is defined (version linux and version Posix are not).
2013-12-08 15:29:10 +01:00
Kai Nacke
9c590a1b88
Merge branch 'master' into merge-2.064
2013-12-03 18:10:29 +01:00
Kai Nacke
cc22116993
Add Android version identifier
2013-12-03 16:47:22 +01:00
Kai Nacke
eb85713ed1
Merge branch 'master' into merge-2.064
2013-11-27 22:46:38 +01:00
Kai Nacke
d7d0ebb65c
Add new version identifiers if a sanitizer is specified.
2013-11-27 22:43:59 +01:00
David Nadlinger
cb341586e3
First merge of 2.064 beta.
...
This corresponds to DMD commit a913ce4bc59a94a022a27e390fc841f4aededffb.
Doesn't build Phobos yet.
2013-10-29 19:21:15 +01:00
Kai Nacke
287e089927
Add info to -version if compiled with address sanitizer
2013-10-23 02:53:53 +02:00
David Nadlinger
f8531f1b3c
Add 'v' back in at beginning of global.version.
...
The lexer expects it to be there for handling __VERSION__.
2013-10-20 23:51:34 +02:00
David Nadlinger
fd012bb002
Hide obsucre LLVM flags on versions that support it.
...
The idea is to hide any flags that an end user is unlikely
to need so that the -help output gets clearer. Some of the
flags are also downright confusing, as they seem similar
to unrelated D concepts. The hidden flags are still
available using -help-hidden.
Unfortunately, this is only possible on LLVM 3.3+.
2013-10-15 01:50:44 +02:00
David Nadlinger
00bb7f5c2e
Merge pull request #508 from klickverbot/mcpu-mattr-help
...
Display -mcpu/-mattr help even with no source files given.
2013-10-13 12:17:46 -07:00
David Nadlinger
40cb10edf1
Merge pull request #509 from klickverbot/fix-disable-fp-elim
...
Bring back -disable-fp-elim.
2013-10-13 12:17:19 -07:00
David Nadlinger
257da5afe5
Bring back -disable-fp-elim.
...
It was moved to llvm/CodeGen/CommandLineFlags.h.
GitHub: Fixes #502 .
2013-10-13 20:26:19 +02:00
David Nadlinger
54aa182f72
Remove Walter-ism that doesn't even work in release mode.
2013-10-13 20:16:40 +02:00
David Nadlinger
c466796b93
Display -mcpu/-mattr help even with no source files given.
...
Unfortunately, we can't easily add a test for this in our
current test runner setup (i.e. dmd-testsuite).
GitHub: Fixes #505 .
2013-10-13 20:16:08 +02:00
David Nadlinger
1242be25d0
Remove unused, empty Ir type.
...
The codegen parameter was changed to IRState instead of
removing it to set the stage for an eventual eradication
of the gIR global.
2013-10-13 19:44:29 +02:00
kai
7226f005b7
Fix Windows build with MSVC.
2013-10-07 18:10:53 +02:00