llvm-project/clang/test
Sam Elliott cdcf58e5af [RISCV] enable LTO support, pass some options to linker.
Summary:
1. enable LTO need to pass target feature and abi to LTO code generation
   RISCV backend need the target feature to decide which extension used in
   code generation.
2. move getTargetFeatures to CommonArgs.h and add ForLTOPlugin flag
3. add general tools::getTargetABI in CommonArgs.h because different target uses different
   way to get the target ABI.

Patch by Kuan Hsu Chen (khchen)

Reviewers: lenary, lewis-revill, asb, MaskRay

Reviewed By: lenary

Subscribers: hiraditya, dschuff, aheejin, fedor.sergeev, mehdi_amini, inglorion, asb, rbar, johnrusso, simoncook, apazos, sabuasal, niosHD, kito-cheng, shiva0217, jrtc27, MaskRay, zzheng, edward-jones, steven_wu, rogfer01, MartinMosbeck, brucehoult, the_o, dexonsmith, rkruppe, PkmX, jocewei, psnobl, benna, Jim, lenary, s.egerton, pzheng, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D67409

llvm-svn: 374774
2019-10-14 14:00:13 +00:00
..
ARCMT
AST [clang] Make handling of unnamed template params similar to function params 2019-10-01 14:08:51 +00:00
ASTMerge [clang] Make handling of unnamed template params similar to function params 2019-10-01 14:08:51 +00:00
Analysis Teach CallGraph to look into Generic Lambdas. 2019-09-30 19:12:29 +00:00
CXX Implements CWG 1601 in [over.ics.rank/4.2] 2019-10-06 18:50:40 +00:00
ClangScanDeps In openFileForRead don't cache erroneous entries if the error relates to them being directories. Add tests. 2019-10-10 15:29:01 +00:00
CodeCompletion [CodeComplete] Ensure object is the same in compareOverloads() 2019-10-04 08:10:27 +00:00
CodeGen Improve __builtin_constant_p lowering 2019-10-13 22:33:46 +00:00
CodeGenCUDA [CUDA][HIP] Fix host/device check with -fopenmp 2019-10-09 23:54:10 +00:00
CodeGenCXX [MS ABI]: Fix mangling function arguments for template types to be compatible with MSVC 2019-10-11 12:27:51 +00:00
CodeGenCoroutines Remove unreachable blocks before splitting a coroutine. 2019-08-14 03:54:13 +00:00
CodeGenObjC [test] Use %clang_cc1 instead of %clang -cc1 2019-09-27 05:37:06 +00:00
CodeGenObjCXX [c++20] Implement semantic restrictions for C++20 designated 2019-08-30 22:52:55 +00:00
CodeGenOpenCL AMDGPU: Add builtins for is_shared/is_private 2019-09-05 03:00:43 +00:00
CodeGenOpenCLCXX Make the CXXABIs respect the target's default calling convention. 2019-07-26 12:36:12 +00:00
Coverage
CoverageMapping Fix one more clang test which didn't have \5C in it 2019-10-10 18:42:06 +00:00
Driver [RISCV] enable LTO support, pass some options to linker. 2019-10-14 14:00:13 +00:00
FixIt [c++20] P1143R2: Add support for the C++20 'constinit' keyword. 2019-09-04 20:30:37 +00:00
Format [clang-format] Proposal for clang-format to give compiler style warnings 2019-10-13 14:51:45 +00:00
Frontend Add -fgnuc-version= to control __GNUC__ and other GCC macros 2019-10-10 21:04:25 +00:00
Headers Add -fgnuc-version= to control __GNUC__ and other GCC macros 2019-10-10 21:04:25 +00:00
Import [clang] Ignore builtin namespaces in test/Import/cxx-anon-namespace 2019-10-01 11:53:20 +00:00
Index [clang] Make handling of unnamed template params similar to function params 2019-10-01 14:08:51 +00:00
Integration
InterfaceStubs [clang][IFS] Updating tests to pass on -fvisibility=hidden builds (NFCi). 2019-10-12 02:46:57 +00:00
Layout P0840R2: support for [[no_unique_address]] attribute 2019-06-20 20:44:45 +00:00
Lexer Mark P0784R7 as complete and start defining its feature-test macro. 2019-10-03 00:39:37 +00:00
Misc [test] Use %clang_cc1 instead of %clang -cc1 2019-09-27 05:37:06 +00:00
Modules Prefer 'env not' over 'not env' in tests. 2019-10-14 01:41:56 +00:00
OpenMP [OPENMP50]Support for 'master taskloop' directive. 2019-10-10 20:13:02 +00:00
PCH Re-land Remove REQUIRES:shell from tests that pass for me on Windows 2019-09-10 20:15:45 +00:00
Parser [MS] Warn when shadowing template parameters under -fms-compatibility 2019-09-12 18:26:34 +00:00
Preprocessor Add -fgnuc-version= to control __GNUC__ and other GCC macros 2019-10-10 21:04:25 +00:00
Profile Update clang tests for new LLVM IR backslash printing in r374415 2019-10-10 18:36:41 +00:00
Refactor [Tooling] Added DeclStmtClass to ExtractionSemicolonPolicy 2019-08-14 13:37:39 +00:00
Rewriter
Sema Fix test failure with 374562 on Hexagon 2019-10-11 16:30:45 +00:00
SemaCUDA [CUDA][HIP} Add a test for constexpr default ctor 2019-10-11 02:43:28 +00:00
SemaCXX Suppress false-positive -Wdeprecated-volatile warning from __is_*_assignable(volatile T&, U). 2019-10-11 17:59:09 +00:00
SemaObjC [ObjC generics] Fix not inheriting type bounds in categories/extensions. 2019-10-09 19:29:13 +00:00
SemaObjCXX [c++20] Implement semantic restrictions for C++20 designated 2019-08-30 22:52:55 +00:00
SemaOpenCL [OpenCL] Add -Wconversion to fdeclare-opencl-builtins test 2019-09-26 13:31:36 +00:00
SemaOpenCLCXX Quote the token being diagnosed for C11 extensions. 2019-08-27 13:47:51 +00:00
SemaTemplate Fix assertion failure for a cv-qualified array as a non-type template 2019-10-11 01:29:53 +00:00
TableGen
Templight
Tooling Prefer 'env not' over 'not env' in tests. 2019-10-14 01:41:56 +00:00
Unit
VFS Switch "windows" to "system-windows" in some XFAILs 2019-09-12 11:19:12 +00:00
clang-rename [clang-rename] Fix a crash when renaming a class without definition. 2019-10-04 14:09:31 +00:00
.clang-format
CMakeLists.txt [clang] Add llvm-ifs in test deps 2019-10-08 20:23:24 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg.py [clang][ifs] Clang Interface Stubs ToolChain plumbing. 2019-10-08 15:23:14 +00:00
lit.site.cfg.py.in Improve behavior in the case of stack exhaustion. 2019-08-26 18:18:07 +00:00
make_test_dirs.pl