Commit graph

11 commits

Author SHA1 Message Date
Martin
cfad799f48 Merge 2.078.0 front-end and stdlibs 2018-01-06 01:39:18 +01:00
Martin
b4ba856c19 Revert "OSX: Use external archiver by default, require -ar= for internal one (#2368)"
This reverts commit 463874e87c.

Xcode 9.0.1 apparently ships with a fixed ranlib.
2017-10-24 01:33:35 +02:00
kinke
463874e87c OSX: Use external archiver by default, require -ar= for internal one (#2368)
Works around issue #2350.
2017-10-17 19:47:30 +02:00
Johan Engelen
8ad5212399 Fix LLVM 6.0 build. (#2342)
* LLVM 6: tool_output_file was renamed to ToolOutputFile.

http://llvm.org/viewvc/llvm-project?view=revision&revision=314050

* Update SPIRV-LLVM

* Fix new LLVM6 API for sanitizerBlacklist->inSection
2017-09-30 17:58:08 +02:00
kinke
e8bfc4d987 Adapt embedded llvm-ar to LLVM 5.0 final (#2349) 2017-09-26 20:04:39 +02:00
Johan Engelen
b584a05333 Fix LLVM 6.0 compilation. (#2305)
* Fix LLVM 6.0 compilation.

* Update the SPIRV LLVM
2017-09-05 19:58:16 +02:00
Martin
383c2d3a59 Range-ify usages of front-end Arrays 2017-06-04 00:29:44 +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
ec1a54aade Move static lib generation from driver/linker.cpp to driver/archiver.cpp 2017-05-26 21:55:25 +02:00
Johan Engelen
a28c76df91 Fix LLVM trunk build. 2017-05-21 22:39:55 +02:00
Martin
ad3294b3ae Enable cross-static-lib generation for LLVM 3.9+
By directly integrating LLVM's `llvm-lib.exe` driver to generate static
libs for MSVC targets and a stripped-down version of the `llvm-ar` tool
for the other targets.

Introduce command-line option `-archiver=<file>` to allow the user to
specify an external archiver to be invoked.
2017-03-12 03:56:46 +01:00