llvm-project/clang/test
Peter Zotov e43b741359 Accept absolute paths in the -fuse-ld option.
This patch extends the -fuse-ld option to accept a full path to an executable
and use it verbatim to invoke the linker. There are generally two reasons
to desire this.

The first reason relates to the sad truth is that Clang is retargetable,
Binutils are not.

While any Clang from a binary distribution is sufficient to compile code
for a wide range of architectures and prefixed BFD linkers (e.g.
installed as /usr/bin/arm-none-linux-gnueabi-ld) as well as cross-compiled
libc's (for non-bare-metal targets) are widely available, including on all
Debian derivatives, it is impossible to use them together because
the -fuse-ld= option allows to specify neither a linker prefix nor
a full path to one.

The second reason is linker development, both when porting existing linkers
to new architectures and when working on a new linker such as LLD.

Differential Revision: http://reviews.llvm.org/D17952

llvm-svn: 262996
2016-03-09 05:18:16 +00:00
..
ARCMT Define weak and __weak to mean ARC-style weak references, even in MRC. 2015-10-22 18:38:17 +00:00
ASTMerge [ASTImporter] Implement missing VisitAccessSpecDecl function in ASTImporter class. 2016-02-18 23:08:36 +00:00
Analysis [analyzer] Fix missed leak from MSVC specific allocation functions 2016-03-08 01:21:51 +00:00
CXX Readd testcase accidentally removed in r262888. 2016-03-09 00:12:38 +00:00
CodeCompletion [Parse] Code complete expressions in bracket declarators. 2016-02-18 15:30:24 +00:00
CodeGen AArch64: remove tests of intrinsics completely duplicated elsewhere. 2016-03-08 23:10:58 +00:00
CodeGenCUDA Fixed test failure platforms with name mangling different from Linux. 2016-03-02 21:03:20 +00:00
CodeGenCXX P0017R1: In C++1z, an aggregate class can have (public non-virtual) base classes; these are initialized as if they were data members. 2016-03-08 22:17:41 +00:00
CodeGenObjC Objective-C: Add a size field to non-fragile category metadata. 2016-02-24 17:49:50 +00:00
CodeGenObjCXX Mangle extended qualifiers in the proper order and mangle the 2016-03-01 22:18:03 +00:00
CodeGenOpenCL AMDGPU: Add builtins for recently added intrinsics 2016-02-27 09:54:43 +00:00
Coverage Stop messing with the 'g' group of options in CompilerInvocation. 2015-10-08 04:24:12 +00:00
CoverageMapping [Coverage] Fix the start/end locations of switch statements 2016-03-04 08:07:15 +00:00
Driver Accept absolute paths in the -fuse-ld option. 2016-03-09 05:18:16 +00:00
FixIt [Lit Test] Updated 26 Lit tests to be C++11 compatible. 2015-11-11 19:34:47 +00:00
Format Fix clang-format test. I believe that the new behavior is better. 2015-11-23 08:50:52 +00:00
Frontend Revert r260266 (and r260276), "clang-cl: Enable plugins on Windows" 2016-02-11 16:43:08 +00:00
Headers test/Headers/float.c: fix theoretical edge values 2016-02-12 19:24:36 +00:00
Index [index] libclang: Make sure to treat forward ObjC protocols as ObjCProtocolRef declarations, and fix related crash. 2016-03-09 02:12:46 +00:00
Integration
Layout [MS] Fix for bug 25013 - #pragma vtordisp is unknown inside functions, by Denis Zobnin. 2015-11-20 07:02:57 +00:00
Lexer Update diagnostics now that hexadecimal literals look likely to be part of C++17. 2016-03-04 22:32:06 +00:00
Misc Misc: add a test for TargetParser usage 2016-03-05 21:12:33 +00:00
Modules Module Debugging: Fix a crash when emitting debug info for nested tag types 2016-03-07 20:58:52 +00:00
OpenMP Reapply r262741 [OPENMP] Codegen for distribute directive 2016-03-07 16:04:49 +00:00
PCH P0188R1: add support for standard [[fallthrough]] attribute. This is almost 2016-03-08 00:32:55 +00:00
Parser Silence duplicate diagnostics because parsing of a standards-based attribute triggers parsing diagnostics that may also be picked up during semantic analysis. 2016-03-08 21:31:32 +00:00
Preprocessor Define __has_cpp_attribute(fallthrough) to a more reasonable value. (What year is it?!) 2016-03-08 00:40:32 +00:00
Profile [PGO] Change profile use cc1 option to handle IR level profiles 2016-03-02 20:59:36 +00:00
Rewriter Stop messing with the 'g' group of options in CompilerInvocation. 2015-10-08 04:24:12 +00:00
Sema Sema: Treat 'strict' availability flag like unavailable 2016-03-08 06:12:54 +00:00
SemaCUDA [CUDA] do not allow attribute-based overloading for __global__ functions. 2016-02-24 21:54:45 +00:00
SemaCXX Fix crash in access check for aggregate initialization of base classes. It's 2016-03-08 23:17:35 +00:00
SemaObjC Implement support for [[nodiscard]] in C++1z that is based off existing support for warn_unused_result, and treat it as an extension pre-C++1z. This also means extending the existing warn_unused_result attribute so that it can be placed on an enum as well as a class. 2016-03-07 22:44:55 +00:00
SemaObjCXX Improve some infrastructure for extended parameter infos and 2016-03-03 00:10:03 +00:00
SemaOpenCL [OpenCL] Refine pipe builtin support 2016-03-04 07:11:16 +00:00
SemaTemplate Implement P0036R0: remove support for empty unary folds of +, *, |, &. 2016-03-04 21:27:21 +00:00
TableGen
Tooling int function without a return statement is invalid C++. 2015-11-27 18:10:49 +00:00
Unit
VFS [VFS] Fix status() of opened redirected file 2015-12-10 23:41:39 +00:00
.clang-format
CMakeLists.txt [CMake] Add convenience target clang-test-depends to build test dependencies. 2016-03-02 00:27:15 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg Revert r260266 (and r260276), "clang-cl: Enable plugins on Windows" 2016-02-11 16:43:08 +00:00
lit.site.cfg.in [modules] Compress files embedded into a .pcm file, to reduce the disk usage of -fembed-all-files mode. 2016-02-06 02:06:43 +00:00
make_test_dirs.pl