llvm-project/clang/test
Petr Hosek 03142c5f67 [Driver] Correctly handle static C++ standard library
When statically linking C++ standard library, we shouldn't add -Bdynamic
after including the library on the link line because that might override
user settings like -static and -static-pie. Rather, we should surround
the library with --push-state/--pop-state to make sure that -Bstatic
only applies to C++ standard library and nothing else. This has been
supported since GNU ld 2.25 (2014) so backwards compatibility should
no longer be a concern.

Differential Revision: https://reviews.llvm.org/D110128
2021-09-24 00:40:16 -07:00
..
APINotes
ARCMT Improve type printing of const arrays to normalize array-of-const and const-array 2021-09-13 19:17:05 -07:00
AST Revert "[OpenMP] Codegen aggregate for outlined function captures" 2021-09-21 13:20:39 -07:00
ASTMerge
Analysis Revert "Diagnose -Wunused-value based on CFG reachability" 2021-09-23 11:12:00 -07:00
CXX Revert "Diagnose -Wunused-value based on CFG reachability" 2021-09-23 11:12:00 -07:00
ClangScanDeps [ClangScanDeps][test] Add -fmodules-cache-path=DIR/cache to make diagnostics.c hermetic 2021-09-13 13:17:55 -07:00
CodeCompletion Revert "Diagnose -Wunused-value based on CFG reachability" 2021-09-23 11:12:00 -07:00
CodeGen [PowerPC] SemaChecking for darn family of builtins 2021-09-23 23:38:59 -05:00
CodeGenCUDA [CUDA] Fix static device variables with -fgpu-rdc 2021-08-25 09:31:22 +02:00
CodeGenCXX Fix that same path separator issue again... 2021-09-23 21:15:01 -07:00
CodeGenCoroutines Revert "[Coroutines] [Clang] Look up coroutine component in std namespace first" 2021-09-03 16:01:09 -04:00
CodeGenHIP
CodeGenObjC [Matrix] Emit assumption that matrix indices are valid. 2021-09-22 12:27:37 +01:00
CodeGenObjCXX [AIX][ZOS] Disable LIT tests on AIX and z/OS due to lack of Objective-C support 2021-09-16 14:04:42 -04:00
CodeGenOpenCL [OpenCL] Supports optional pipe types in C++ for OpenCL 2021 2021-09-17 09:56:20 +01:00
CodeGenOpenCLCXX [C++4OpenCL] Introduces __remove_address_space utility 2021-08-06 10:40:22 +01:00
CodeGenSYCL Ensure field-annotations on pointers properly match the AS of the field. 2021-09-01 06:12:24 -07:00
Coverage Add a target triple to fix failures on MS build bots. 2021-06-30 17:27:26 -07:00
CoverageMapping Revert "[Coroutines] [Clang] Look up coroutine component in std namespace first" 2021-09-03 16:01:09 -04:00
Driver [Driver] Correctly handle static C++ standard library 2021-09-24 00:40:16 -07:00
FixIt Implement P1949 2021-08-18 07:33:14 -04:00
Format
Frontend Revert "Diagnose -Wunused-value based on CFG reachability" 2021-09-23 11:12:00 -07:00
Headers [InstCombine] Update InstCombine to use poison instead of undef for shufflevector's placeholder (1/3) 2021-09-22 23:18:51 +09:00
Import [AIX][ZOS] Disable LIT tests on AIX and z/OS due to lack of Objective-C support 2021-09-16 14:04:42 -04:00
Index Revert "[Coroutines] [Clang] Look up coroutine component in std namespace first" 2021-09-03 16:01:09 -04:00
Integration
InterfaceStubs [ifs][elfabi] Merge llvm-ifs/elfabi tools 2021-07-19 11:23:19 -07:00
Interpreter Reland "[clang-repl] Allow passing in code as positional arguments." 2021-07-10 17:54:00 +00:00
Layout [AIX] Check for typedef properly when getting preferred type align 2021-09-08 16:21:52 -04:00
Lexer Support Unicode 14 identifiers 2021-09-16 13:21:27 -04:00
LibClang libclang.so: Make SONAME independent from LLVM version 2021-07-26 16:37:26 -07:00
Misc Make DiagnosticInfoResourceLimit's limit param required 2021-09-21 15:27:58 -07:00
Modules [AIX][ZOS] Disable LIT tests on AIX and z/OS due to lack of Objective-C support 2021-09-16 14:04:42 -04:00
OpenMP [OpenMP][Offloading] Change `bool IsSPMD` to `int8_t Mode` in `__kmpc_target_init` and `__kmpc_target_deinit` 2021-09-22 17:16:41 -04:00
PCH Revert "Diagnose -Wunused-value based on CFG reachability" 2021-09-23 11:12:00 -07:00
Parser Revert "Diagnose -Wunused-value based on CFG reachability" 2021-09-23 11:12:00 -07:00
ParserSYCL
Preprocessor Fix -fno-unwind-tables -fasynchronous-unwind-tables to emit unwind tables 2021-09-23 16:15:40 -07:00
Profile Update: clang/test/Profile/gcc-flag-compatibility.c to have -flto on AIX 2021-08-09 14:57:38 +00:00
Refactor
Rewriter
Sema Revert "Diagnose -Wunused-value based on CFG reachability" 2021-09-23 11:12:00 -07:00
SemaCUDA [CUDA] Pass ExecConfig through BuildCallToMemberFunction 2021-09-16 11:18:12 -07:00
SemaCXX Revert "Diagnose -Wunused-value based on CFG reachability" 2021-09-23 11:12:00 -07:00
SemaObjC [Sema][ObjC] Allow conversions between pointers to ObjC pointers and 2021-08-25 10:22:29 -07:00
SemaObjCXX [clang] C++98 implicit moves are back with a vengeance 2021-07-13 19:16:49 +02:00
SemaOpenCL [OpenCL] Supports optional writing to 3d images in C++ for OpenCL 2021 2021-09-20 10:07:38 +01:00
SemaOpenCLCXX [OpenCL] Initialize temporaries in the private address space 2021-09-13 12:56:04 +01:00
SemaSYCL Revert "[clang] Check unsupported types in expressions" 2021-09-13 15:34:21 +03:00
SemaTemplate Revert "Diagnose -Wunused-value based on CFG reachability" 2021-09-23 11:12:00 -07:00
TableGen
Templight
Tooling [clang][tooling] Accept Clang invocations with multiple jobs 2021-07-27 10:47:55 +02:00
Unit
VFS [Modules] Do not remove failed modules after the control block phase 2021-08-17 16:46:51 -07:00
clang-rename
utils/update_cc_test_checks Revert "[OpenMP] Codegen aggregate for outlined function captures" 2021-09-21 13:20:39 -07:00
.clang-format
CMakeLists.txt Revert "Reland "[clang-repl] Re-implement clang-interpreter as a test case."" 2021-09-03 13:18:09 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg.py Revert "Reland "[clang-repl] Re-implement clang-interpreter as a test case."" 2021-09-03 13:18:09 +00:00
lit.site.cfg.py.in libclang.so: Make SONAME independent from LLVM version 2021-07-26 16:37:26 -07:00
make_test_dirs.pl