llvm-project/clang/test
Ben Dunbobbin 7ad6010f58 Fix - [Clang] Add the ability to map DLL storage class to visibility
415f7ee883 had a silly typo introduced when I inlined some
code into a loop from its own function.

Original commit message:

For PlayStation we offer source code compatibility with
Microsoft's dllimport/export annotations; however, our file
format is based on ELF.

To support this we translate from DLL storage class to ELF
visibility at the end of codegen in Clang.

Other toolchains have used similar strategies (e.g. see the
documentation for this ARM toolchain:

https://developer.arm.com/documentation/dui0530/i/migrating-from-rvct-v3-1-to-rvct-v4-0/changes-to-symbol-visibility-between-rvct-v3-1-and-rvct-v4-0)

This patch adds the ability to perform this translation. Options
are provided to support customizing the mapping behaviour.

Differential Revision: https://reviews.llvm.org/D89970
2020-11-03 19:13:54 +00:00
..
APINotes/Inputs/Frameworks/SomeKit.framework/Headers docs: add documentation describing API Notes 2020-10-05 18:29:13 +00:00
ARCMT
AST [test] Fix unused check prefixes in test/AST 2020-10-31 21:46:45 -07:00
ASTMerge [clang] Improve Serialization/Imporing/Dumping of APValues 2020-10-21 19:03:13 +02:00
Analysis [scan-build] Fix clang++ pathname again 2020-11-03 08:17:17 +01:00
CXX PR47861: Expand dangling reference warning to look through copy 2020-10-30 10:19:50 -07:00
ClangScanDeps
CodeCompletion [clang] Make signature help work with dependent args 2020-08-17 10:06:36 +02:00
CodeGen Put back the test pragma-fp-exc.cpp 2020-11-03 13:18:40 +07:00
CodeGenCUDA [CUDA] Allow local static variables with target attributes. 2020-11-03 10:30:38 -08:00
CodeGenCXX Fix - [Clang] Add the ability to map DLL storage class to visibility 2020-11-03 19:13:54 +00:00
CodeGenCoroutines Reapply "OpaquePtr: Add type to sret attribute" 2020-10-16 11:05:02 -04:00
CodeGenHIP
CodeGenObjC [darwin] add support for __isPlatformVersionAtLeast check for if (@available) 2020-11-02 16:28:09 -08:00
CodeGenObjCXX Reapply "OpaquePtr: Add type to sret attribute" 2020-10-16 11:05:02 -04:00
CodeGenOpenCL [AMDGPU] Add gfx1033 target 2020-11-03 16:27:48 +00:00
CodeGenOpenCLCXX Reapply "OpaquePtr: Add type to sret attribute" 2020-10-16 11:05:02 -04:00
CodeGenSYCL Revert "[SYCL] Implement __builtin_unique_stable_name." 2020-10-12 01:10:09 -04:00
Coverage
CoverageMapping [Coverage] Add empty line regions to SkippedRegions 2020-09-21 12:42:53 -07:00
Driver [AMDGPU] Add gfx1033 target 2020-11-03 16:27:48 +00:00
FixIt
Format [clang-format] Add a test showing the current config file list parsing 2020-09-04 16:57:46 +01:00
Frontend [test] Clean up test/Frontend/gnu-mcount.c and fix unused check prefixes 2020-10-31 21:33:46 -07:00
Headers [NFC] Remove max_align.c LIT testcase 2020-10-26 17:14:30 -04:00
Import
Index Fix hidden-redecls.m test for some environments 2020-10-16 09:51:13 +02:00
Integration
InterfaceStubs
Layout [AIX] Support two itanium alignment LIT testcases for AIX using regex 2020-10-13 16:47:01 -04:00
Lexer [clang][feature] Add cxx_abi_relative_vtable feature 2020-10-08 10:30:54 -07:00
Misc [NFC][clang][AVR] Add more devices 2020-10-29 11:49:21 +08:00
Modules Reapply "OpaquePtr: Add type to sret attribute" 2020-10-16 11:05:02 -04:00
OpenMP [Clang][OpenMP] Added the support for target data nowait 2020-10-28 15:53:30 -04:00
PCH [clang] add fexperimental-strict-floating-point to test cases that fail on arm and aarch not sure this will work due to commit rG13bfd89c4962 2020-10-30 07:30:06 -07:00
Parser Add option 'exceptions' to pragma clang fp 2020-10-31 17:36:12 +07:00
Preprocessor [X86] Support Intel avxvnni 2020-10-31 12:39:51 +08:00
Profile Revert "Use uint64_t for branch weights instead of uint32_t" 2020-10-31 00:25:32 -07:00
Refactor
Rewriter
Sema [Sema] adds -Wfree-nonheap-object member var checks 2020-11-02 11:03:28 -08:00
SemaCUDA [CUDA] Allow local static variables with target attributes. 2020-11-03 10:30:38 -08:00
SemaCXX [Sema] Diagnose annotating `if constexpr` with a likelihood attribute 2020-10-31 17:51:36 +01:00
SemaObjC PR44406: Follow behavior of array bound constant folding in more recent versions of GCC. 2020-10-16 14:34:35 -07:00
SemaObjCXX [SemaObjC] Fix composite pointer type calculation for `void*` and pointer to lifetime qualified ObjC pointer type 2020-10-15 15:21:01 -04:00
SemaOpenCL [OpenCL] Remove unused extensions 2020-10-22 17:01:31 +01:00
SemaOpenCLCXX
SemaSYCL
SemaTemplate PR42513: Fix handling of function definitions lazily instantiated from 2020-10-30 18:35:12 -07:00
TableGen Recommit "[CUDA][HIP] Defer overloading resolution diagnostics for host device functions" 2020-10-19 17:48:04 -04:00
Templight
Tooling
Unit
VFS
clang-rename [clang-rename] Fix rename on variable templates. 2020-10-19 09:44:59 +02:00
utils/update_cc_test_checks [UpdateCCTestChecks] Include generated functions if asked 2020-09-18 06:34:59 -05:00
.clang-format
CMakeLists.txt Revert "Re-Re-land: [CodeView] Add full repro to LF_BUILDINFO record" 2020-08-17 15:49:18 -04:00
TestRunner.sh
cxx-sections.data
lit.cfg.py [OpenMP] Fixing OpenMP/driver.c failing on 32-bit hosts 2020-10-21 17:01:36 -04:00
lit.site.cfg.py.in [CMake] Simplify CMake handling for zlib 2020-08-11 20:22:11 -07:00
make_test_dirs.pl