llvm-project/clang/test
Ayke van Laethem 131cddcba2
[AVR] Fix broken bitcast for aliases in non-zero address space
This was triggered by some code in picolibc. The minimal version looks
like this:

    double infinity(void) {
       return 5;
    }

    extern long double infinityl() __attribute__((__alias__("infinity")));

These two declarations have a different type (not because of the 'long
double', which is also 'double' in IR, but because infinityl has
variadic parameters). This led to a crash in the bitcast which assumed
address space 0.

Differential Revision: https://reviews.llvm.org/D138681
2022-11-27 15:27:42 +01:00
..
APINotes
ARCMT
AST [clang] Add [is|set]Nested methods to NamespaceDecl 2022-11-24 12:44:35 +00:00
ASTMerge
Analysis [analyzer] Deprecate FAM analyzer-config, recommend -fstrict-flex-arrays instead 2022-11-25 10:24:56 +01:00
C Add more tests for C DRs and update the status page 2022-11-18 14:15:41 -05:00
CXX [C++20] [Modules] Remove unmaintained Header Module 2022-11-18 10:39:33 +08:00
ClangScanDeps [clang][deps] Remove checks that were just for exhaustiveness 2022-11-15 14:22:23 -08:00
CodeCompletion [clang][DR2621] using enum NAME lookup fix 2022-09-28 08:50:27 -07:00
CodeGen [AVR] Fix broken bitcast for aliases in non-zero address space 2022-11-27 15:27:42 +01:00
CodeGenCUDA [clang][cuda/hip] Allow `__noinline__` lambdas 2022-11-04 07:33:31 +00:00
CodeGenCUDASPIRV
CodeGenCXX Drop redundant pipe to opt -instnamer in clang tests 2022-11-25 11:34:55 +00:00
CodeGenCoroutines [Test] Fix CHECK typo. 2022-11-04 10:18:04 -07:00
CodeGenHIP
CodeGenHLSL [HLSL] add sin library function 2022-11-16 18:29:50 -08:00
CodeGenObjC [IR] Switch everything to use memory attribute 2022-11-04 10:21:38 +01:00
CodeGenObjCXX Reland "[CGObjC] Add run line for release mode in test arc-exceptions-seh.mm (NFC)" 2022-11-23 11:35:22 +01:00
CodeGenOpenCL Revert "[SROA] `isVectorPromotionViable()`: memory intrinsics operate on vectors of bytes (take 2)" 2022-11-27 00:00:06 +03:00
CodeGenOpenCLCXX
CodeGenSYCL Fix incorrect cast in VisitSYCLUniqueStableNameExpr 2022-11-19 11:43:17 +00:00
Coverage
CoverageMapping [InstrProfiling] No runtime hook for unused funcs 2022-09-16 02:05:09 +00:00
Driver [AArch64] Assembly support for FEAT_LRCPC3 2022-11-25 18:59:07 +00:00
ExtractAPI Revert "Only add targetFallback if target is not in defined in current product" 2022-11-07 13:33:59 +00:00
FixIt Do not suggest taking the address of a const pointer to get void* 2022-11-23 18:43:06 +00:00
Format [test] Use host platform specific error message substitution 2022-09-16 15:13:45 -04:00
Frontend Refactor StaticAnalyzer to use `clang::SarifDocumentWriter` 2022-11-17 14:47:02 -05:00
Headers clang/HIP: Add new header test for math IR gen 2022-11-22 11:12:00 -05:00
Import
Index Add clang_CXXMethod_isMoveAssignmentOperator to libclang 2022-11-14 15:21:36 +01:00
Integration
InterfaceStubs [clang] [test] Use %clang_cc1 substitution consistently 2022-09-29 20:59:00 +02:00
Interpreter
Layout [Sema] Reject array element types whose sizes aren't a multiple of their 2022-09-21 09:15:03 -07:00
Lexer When we run out of source locations, try to produce useful information 2022-11-16 14:36:16 -08:00
LibClang
Misc [Hexagon] Add clang flags for v71, v71t, v73 2022-11-18 09:39:47 -08:00
Modules [modules] Fix marking `ObjCMethodDecl::isOverriding` when there are no overrides. 2022-11-24 14:26:02 -08:00
OpenMP [OPENMP5.1] Initial support for message clause. 2022-11-18 17:59:23 -08:00
PCH Revert "Implement CWG2631" 2022-11-04 22:10:50 +01:00
Parser parse: process GNU and standard attributes on top-level decls 2022-11-21 22:34:50 +00:00
ParserHLSL [HLSL] Add groupshare address space. 2022-10-20 09:29:09 -07:00
ParserSYCL
Preprocessor Add MC support of RISCV Zcd Extension 2022-11-24 05:48:06 +08:00
Profile [PGO] Consider parent context when weighing branches with likelyhood. 2022-10-08 23:49:27 +02:00
Refactor
Rewriter
Sema [Clang] Extend the number of case Sema::CheckForIntOverflow covers 2022-11-15 12:07:03 -08:00
SemaCUDA [CUDA, NVPTX] Added basic __bf16 support for NVPTX. 2022-10-25 11:08:06 -07:00
SemaCXX [Sema] check InitListExpr format strings like {"foo"} 2022-11-23 04:58:19 +08:00
SemaHLSL [HLSL] Disable integer promotion to avoid int16_t being promoted to int for HLSL. 2022-10-20 16:06:25 -07:00
SemaObjC [Clang][Sema] Added space after ',' in a warning 2022-11-22 13:26:40 +00:00
SemaObjCXX [ObjC] Fix an assertion failure in EvaluateLValue 2022-11-15 14:41:28 -08:00
SemaOpenCL [HLSL] Add groupshare address space. 2022-10-20 09:29:09 -07:00
SemaOpenCLCXX [OpenCL] Fix diagnostics with templates in kernel args. 2022-11-10 18:55:12 +00:00
SemaSYCL
SemaTemplate [Concepts] Fix friend-checking to include NTTPs 2022-11-16 07:33:15 -08:00
TableGen Revert "Revert "[clang-tblgen][NFC] renames Diagnostic.Text to Diagnostic.Summary"" 2022-11-21 04:55:19 +00:00
Templight Properly print unnamed TagDecl objects in diagnostics 2022-10-14 08:18:28 -04:00
Tooling
Unit [llvm,polly,clang] Stop setting config.enable_shared in most places 2022-11-21 08:54:14 -05:00
VFS
clang-rename
utils/update_cc_test_checks
.clang-format
CMakeLists.txt [clang] Remove CLANG_ENABLE_OPAQUE_POINTERS cmake option 2022-10-06 09:46:04 +02:00
TestRunner.sh
lit.cfg.py [LIT] Add AArch64/Windows to LP64 feature 2022-10-24 11:40:52 +05:00
lit.site.cfg.py.in [CMake] Remove CLANG_DEFAULT_STD_C/CLANG_DEFAULT_STD_CXX 2022-10-16 13:15:44 -07:00