| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
When cross-compiling to Windows using lld, we want the driver to invoke
it as lld-link rather than lld-link.exe. On Windows, the LLVM fs
functions take care of adding the .exe suffix where necessary, so we can
just drop the addition in the toolchain entirely.
Differential Revision: https://reviews.llvm.org/D33923
llvm-svn: 304761
|
|
|
|
|
|
|
| |
cl-link.c test was failing after r294604 because of the change in the order of
parameters.
llvm-svn: 294609
|
|
|
|
| |
llvm-svn: 293676
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I modify clang driver for windows to include:
"-wholearchive:asan_dynamic_runtime_thunk", so all object files in the
static library: asan_dynamic_runtime_thunk are considered by the linker.
This is necessary, because some object files only include linker pragmas,
and doesn't resolve any symbol. If we don't include that flag, the
linker will ignore them, and won't read the linker pragmas.
Differential Revision: https://reviews.llvm.org/D29159
llvm-svn: 293420
|
|
|
|
| |
llvm-svn: 283256
|
|
|
|
|
|
|
|
|
| |
There might be flags passed to the linker (e.g. /libpath), causing it
to search in paths the Clang driver doesn't know about.
PR27234
llvm-svn: 266402
|
|
|
|
|
|
|
|
|
|
| |
For example, "cl.exe a.c /linkfoo bar" is a valid invocation and
forwards "foo" and "bar" to link.exe. This makes clang-cl handle
that kind of invocation.
Depends on LLVM r266394.
llvm-svn: 266395
|
|
|
|
| |
llvm-svn: 242321
|
|
|
|
| |
llvm-svn: 241248
|
|
|
|
| |
llvm-svn: 241229
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On Windows the user may invoke the linker directly, so we might not have an
opportunity to add runtime library flags to the linker command line. Instead,
instruct the code generator to embed linker directive in the object file
that cause the required runtime libraries to be linked.
We might also want to do something similar for ASan, but it seems to have
its own special complexities which may make this infeasible.
Differential Revision: http://reviews.llvm.org/D10862
llvm-svn: 241225
|
|
|
|
| |
llvm-svn: 217679
|
|
|
|
|
|
| |
Sorry, committing to multiple repos at once is hard...
llvm-svn: 217677
|
|
|
|
|
|
|
| |
With this patch, "check-asan" passes all the tests with both MT and MD ASan RTL if you set COMPILER_RT_BUILD_SHARED_ASAN to ON
(PR20214)
llvm-svn: 216447
|
|
|
|
| |
llvm-svn: 208625
|
|
|
|
| |
llvm-svn: 207233
|
|
|
|
| |
llvm-svn: 190516
|
|
|
|
|
|
|
| |
The test filename (%s) is easily confused with an option when
it starts with /Users...
llvm-svn: 190435
|
|
|
|
|
|
|
|
| |
This adds driver support for building DLLs (the /LD and /LDd flags).
It basically does two things: runtime selection and passing -dll and
-implib to the linker.
llvm-svn: 190428
|
|
|
|
| |
llvm-svn: 189664
|
|
|
|
| |
llvm-svn: 189496
|
|
|
|
|
|
|
|
|
| |
This exposes the -fsanitize=address option and adds the runtime library
to the link command.
Differential Revision: http://llvm-reviews.chandlerc.com/D1526
llvm-svn: 189389
|
|
This adds support for the /link option, which forwards
subsequent arguments to the linker.
The test for this will only work when targetting win32.
Since that's the only target where clang-cl makes sense,
use that target by default.
Differential Revision: http://llvm-reviews.chandlerc.com/D1388
llvm-svn: 188331
|