Martin
025c69cc65
Merge branch 'master' into merge-2.079
...
Conflicts:
appveyor.yml
driver/main.cpp
runtime/druntime
runtime/phobos
2018-04-15 18:46:39 +02:00
Martin
b032cfdf65
MSVC: Use absolute path to ldc_rt.builtins.lib
...
Otherwise linking only works if the directory is specified for the
linker, which may not be the case when disabling the config file via
`-conf=`.
2018-04-04 19:59:10 +02:00
Martin
f5f17bee6f
Add support for LLD 6.0.0
2018-03-25 18:21:16 +02:00
Martin
842fb0264a
Get rid of our profile-rt libs
...
Enabled by switching to the official compiler-rt lib on Windows too.
Move the profile.di module to druntime.
2018-02-03 14:56:30 +01:00
Martin
b7d12fe52f
Windows: Add support for -fsanitize=address
& link with builtins lib if found
...
The LLVM 5.0.1 ASan x64 lib doesn't work with VS 2017 v15.5.5; any
executable linked against it will hang at startup with the msg:
'ASan init calls itself!'
See https://github.com/google/sanitizers/issues/818 .
2018-02-03 14:56:08 +01:00
Martin
197e65efde
Merge branch 'master' into merge-2.078
...
Conflicts:
driver/main.cpp
gen/cl_helpers.h
gen/declarations.cpp
runtime/druntime
tests/d2/dmd-testsuite
2018-01-20 11:20:17 +01:00
Johan Engelen
3ec79179b4
PGO: refactor such that there can be IR-based and frontend-based PGO.
2018-01-15 23:59:14 +01:00
Martin Kinkelin
6b462b1018
Generalize defaultlibs cmdline help category to linking options ( #2496 )
2018-01-14 00:03:27 +01:00
Martin
cfad799f48
Merge 2.078.0 front-end and stdlibs
2018-01-06 01:39:18 +01:00
Ivan
33c6cbb807
Renaming
2017-11-09 21:29:32 +03:00
Ivan
ae4db7d3b3
Merge remote-tracking branch 'origin/master' into runtime_compile_v5
2017-11-01 22:24:27 +03:00
kinke
aeaf35c42f
Add -linker command-line option ( #2386 )
...
To set the linker executable for MSVC targets (e.g., `lld-link`) or the
`-fuse-ld` arg for the gcc linking command-line for the other targets.
2017-10-28 01:21:24 +02:00
Ivan
afae2f296b
remove isRuntimeCompileEnabled() function
2017-10-15 23:24:36 +03:00
Ivan
ccc87bdb9d
opts::isRuntimeCompileEnabled() helper function
2017-09-06 21:20:49 +03:00
Ivan
a9f6875494
Do not use exteranl storage for enableRuntimeCompile flag
2017-09-05 21:23:39 +03:00
Ivan
42f283c221
D dynamic compilation support
2017-08-27 17:42:55 +03:00
Johan Engelen
1d0ccf8e97
Use normal hyphen in linker.msvc.cpp.
2017-06-25 23:10:55 +02:00
Martin
383c2d3a59
Range-ify usages of front-end Arrays
2017-06-04 00:29:44 +02:00
Martin
9fd7fa2d90
Add experimental -link-internally switch to enable LLD opt-in
...
And infer CMake LDC_WITH_LLD automatically based on availability of LLVM
3.9+ with LLD headers & libs.
2017-05-29 22:45:32 +02:00
Martin
00d5f9b5b5
Integrate LLD for MSVC targets via experimental CMake option LDC_WITH_LLD
...
Results in a 7.5% bigger RelWithDebInfo ldc2.exe on Win64 with LLVM 3.9.1.
LLD is currently enforced when building with LDC_WITH_LLD=ON. And LLD
still doesn't support debuginfo (.pdb) generation for MSVC targets.
2017-05-27 21:21:31 +02:00
Martin
9c86ae9ad0
Refactor generation of GCC linker command line
2017-05-27 02:27:17 +02:00
Martin
cb0c27c3c5
Refactor MSVC link.exe driver into dedicated driver/linker-msvc.cpp
2017-05-26 23:57:21 +02:00