llvm-project/clang/test
Markus Böck aafc3f7be8 [Driver] Add -print-runtime-dir
This patch adds a new command line option to clang which outputs the directory containing clangs runtime libraries to stdout.

The primary use case for this command line flag is for build systems using clang-cl. Build systems when using clang-cl invoke the linker, that is either link or lld-link in this case, directly instead of invoking the compiler for the linking process as is common with the other drivers. This leads to issues when runtime libraries of clang, such as sanitizers or profiling, have to be linked in as the compiler cannot communicate the link directory to the linker.

Using this flag, build systems would be capable of getting the directory containing all of clang's runtime libraries and add it to the linker path.

Differential Revision: https://reviews.llvm.org/D98868
2021-03-19 17:48:03 +01:00
..
APINotes
ARCMT
AST Implement P2173 for attributes on lambdas 2021-03-03 10:05:39 -05:00
ASTMerge Modify TypePrinter to differentiate between anonymous struct and unnamed struct 2021-02-22 14:16:43 -08:00
Analysis [analyzer] Introduce common bug category "Unused code". 2021-03-17 20:58:27 -07:00
CXX Automate common diagnostic checking for statement attributes 2021-03-19 08:35:38 -04:00
ClangScanDeps Revert "[clang-scan-deps] Support clang-cl" 2020-12-14 13:32:38 -05:00
CodeCompletion [CodeCompletion] Avoid spurious signature help for init-list args 2021-03-16 12:46:40 +01:00
CodeGen [UniqueLinkageName] Use consistent checks when mangling symbo linkage name and debug linkage name. 2021-03-18 22:11:16 -07:00
CodeGenCUDA Fix test cxx-call-kernel.cpp 2021-03-01 17:10:53 -05:00
CodeGenCXX [Reland] "Do not apply calling conventions to MSVC entry points" 2021-03-18 04:26:47 -07:00
CodeGenCoroutines [test] Move coro-retcon-unreachable.ll into llvm/test 2021-01-07 14:06:01 -08:00
CodeGenHIP
CodeGenObjC [ObjC][ARC] Use operand bundle 'clang.arc.attachedcall' instead of 2021-03-04 11:22:30 -08:00
CodeGenObjCXX [ObjC] Encode pointers to C++ classes as "^v" if the encoded string 2021-02-18 09:38:26 -08:00
CodeGenOpenCL [AMDGPU] Split dot2-insts feature 2021-03-17 09:42:21 +00:00
CodeGenOpenCLCXX [OpenCL] Create VoidPtrTy with generic AS in C++ for OpenCL mode 2021-02-17 12:18:46 +03:00
CodeGenSYCL [SYCL] Rework the SYCL driver options 2021-03-17 08:27:19 -04:00
Coverage
CoverageMapping Revert "Revert "[Coverage] Emit gap region between statements if first statements contains terminate statements."" 2021-03-04 11:52:43 -08:00
Driver [Driver] Add -print-runtime-dir 2021-03-19 17:48:03 +01:00
FixIt [Sema] Fix diagnostics for one-byte length modifier 2021-03-09 16:56:20 +01:00
Format [test] Use host platform specific error message substitution in lit tests - continued 2021-02-03 09:53:22 -05:00
Frontend [SYCL] Rework the SYCL driver options 2021-03-17 08:27:19 -04:00
Headers [Clang][RISCV] Add custom TableGen backend for riscv-vector intrinsics. 2021-03-10 18:43:43 -08:00
Import clang-import-test: Clean up error output for files that cannot be found 2020-12-11 17:07:58 -08:00
Index [AIX][XCOFF] Fixed the test case which failed at aix OS because enable -mignore-xcoff-visibility by default. 2021-03-15 17:33:02 -04:00
Integration
InterfaceStubs [test] Make ELF tests less reliant on the lexicographical order of non-local symbols 2021-02-13 01:01:06 -08:00
Layout [Clang][Sema] Warn when function argument is less aligned than parameter 2021-03-09 10:37:32 +00:00
Lexer Add support for digit separators in C2x. 2021-03-12 07:21:03 -05:00
Misc [DebugInfo] Add an attribute to force type info to be emitted for types that are required to be complete. 2021-03-12 12:30:01 -08:00
Modules Make sure a module file with errors produced via '-fallow-pcm-with-compiler-errors' can be loaded when using implicit modules 2021-02-08 16:10:39 -08:00
OpenMP [WoA][MSVC] Use default linker setting in MSVC-compatible driver [take 2] 2021-03-19 13:38:03 +00:00
PCH Make iteration over the DeclContext::lookup_result safe. 2021-03-17 08:59:04 +00:00
Parser Automate common diagnostic checking for statement attributes 2021-03-19 08:35:38 -04:00
Preprocessor [WebAssembly] Remove unimplemented-simd target feature 2021-03-18 10:23:12 -07:00
Profile [Driver] Rename -fprofile-{prefix-map,compilation-dir} to -fcoverage-{prefix-map,compilation-dir} 2021-02-25 21:40:12 -08:00
Refactor
Rewriter
Sema Automate common diagnostic checking for statement attributes 2021-03-19 08:35:38 -04:00
SemaCUDA [CUDA][HIP] Support accessing static device variable in host code for -fgpu-rdc 2021-02-24 18:23:45 -05:00
SemaCXX Automate common diagnostic checking for statement attributes 2021-03-19 08:35:38 -04:00
SemaObjC [-Wcalled-once-parameter] Fix false positives for cleanup attr 2021-03-18 12:32:16 +03:00
SemaObjCXX [Sema] Add some basic lambda capture fix-its 2021-03-11 13:46:25 +00:00
SemaOpenCL [OpenCL] Remove spurious atomic_fetch tablegen builtins 2021-03-18 12:17:12 +00:00
SemaOpenCLCXX [OpenCL] Fix default address space in template argument deduction. 2021-02-04 13:51:53 +00:00
SemaSYCL [SYCL] Rework the SYCL driver options 2021-03-17 08:27:19 -04:00
SemaTemplate Fix miscomputation of dependence for elaborated types that are 2021-02-04 13:14:15 -08:00
TableGen Detect diagnostic groups that are defined in multiple 'def's. 2021-02-18 17:19:01 -08:00
Templight
Tooling [Syntax] Add syntax-tree-dump in clang-check. 2021-01-29 14:10:27 +01:00
Unit Support multi-configuration generators correctly in several config files 2021-02-11 09:32:20 -08:00
VFS [VFS] Add support to RedirectingFileSystem for mapping a virtual directory to one in the external FS. 2021-02-02 14:56:17 +10:00
clang-rename
utils/update_cc_test_checks [Utils] Support lit-like substitutions in update_cc_test_checks 2021-03-16 10:36:22 -07:00
.clang-format
CMakeLists.txt [clang] Add llvm-strip to test dependencies 2021-01-09 11:57:27 -08:00
TestRunner.sh
cxx-sections.data
lit.cfg.py [FileCheck] Default --allow-unused-prefixes to false 2021-02-08 13:37:04 -08:00
lit.site.cfg.py.in [test] Add ability to get error messages from CMake for errc substitution 2021-03-15 20:56:08 +01:00
make_test_dirs.pl Prefer /usr/bin/env xxx over /usr/bin/xxx where xxx = perl, python, awk 2021-02-25 11:32:27 +01:00