Commit Graph

8 Commits

Author SHA1 Message Date
Doug Gregor
480c631209 Linux-specific fixes for the swift-frontend rename.
Hardlinking to a symlink is not permitted, so use "swift-frontend"
instead of "swift" as the hard-link target.

Also, update one Linux-specific test to check for swift-frontend.
2020-06-23 13:17:26 -07:00
Saleem Abdulrasool
67475dced4 Driver: avoid linking against the C++ runtime
Use `clang` rather than `clang++` as the linker driver.  This ensures
that we do not force a C++ runtime on the general code.  This is fine
for now as C++ interop is not yet available for Swift.  This prevents
the accidental mix-and-match of various C++ runtimes.  This can cause
problems on platforms like android where `libstdc++` is an unsupported
runtime but is generally the default for Linux platforms.
2019-07-24 19:48:02 -07:00
Dmitri Gribenko
d175b3b66d Migrate FileCheck to %FileCheck in tests 2016-08-10 23:52:02 -07:00
Jordan Rose
840c34f2e9 [test] Remove redundant lit feature 'swift-autolink-extract'.
We already have a perfectly good 'autolink-extract'.
2015-12-10 16:27:00 -08:00
Adrian Prantl
5a5a1c992e Make this test stricter.
Swift SVN r31678
2015-09-03 23:27:47 +00:00
Adrian Prantl
0de0d43773 Introduce a -modulewrap driver action that wraps a (merged) .swiftmodule
inside a swift ast section in an object file so it can be passed to the
linker. The driver automatically wraps merged swiftmodules iff the target
is ELF.

rdar://problem/22407666

Swift SVN r31641
2015-09-02 21:56:25 +00:00
Dmitri Hrybenko
f40d7227bf Fixup the test output for the test that I extracted into a new file
Swift SVN r27164
2015-04-09 06:31:09 +00:00
Dmitri Hrybenko
2791a4c317 Disable the test for swift-autolink-extract when the binary is not
available

Swift SVN r27162
2015-04-09 06:22:54 +00:00