1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/test
Alex Richardson 6ae0a3f9c3 [SLC] Simplify strcpy and friends with non-zero address spaces
The current logic in TargetLibraryInfoImpl::getLibFunc() was only treating
strcpy, etc. with i8* arguments in address space zero as a valid library
function. However, in the CHERI and Morello targets we expect all libc
functions to use address space 200 arguments.

This commit updates isValidProtoForLibFunc() to check that the argument
is a pointer type. This also drops the check for i8* since we should not
be checking the pointee type any more.

Reviewed By: arsenm
Differential Revision: https://reviews.llvm.org/D95142
2021-03-10 11:17:34 +00:00
..
Analysis [test] precommit tests from D98222 2021-03-09 12:39:47 -08:00
Assembler [Assembler] Fix global icmp test 2021-03-08 17:26:49 +01:00
Bindings
Bitcode
BugPoint
CodeGen [NFC] [PowerPC] Remove unsafe-fp-math in some tests 2021-03-10 17:27:21 +08:00
DebugInfo [DebugInfo] Process DBG_VALUE_LIST in LiveDebugValues 2021-03-09 18:58:26 +00:00
Demangle
Examples
ExecutionEngine [JITLink] Add support for STT_NOTYPE symbols to ELF/x86-64. 2021-03-09 20:40:24 -08:00
Feature
FileCheck
Instrumentation [dfsan] Tracking origins at memory transfer 2021-03-09 22:15:07 +00:00
Integer
JitListener
Linker [llvm] Change DSOLocalEquivalent type if the underlying global value type changes 2021-03-09 15:09:48 -08:00
LTO
MachineVerifier
MC Add requirement for aarch64-registered-target to test change added in 42e3f97a9dd3a439f63a733c4ee909cba6b77e49. 2021-03-09 12:26:15 -08:00
Object
ObjectYAML
Other
Reduce
SafepointIRVerifier
Support
SymbolRewriter
TableGen
ThinLTO/X86 [llvm] Change DSOLocalEquivalent type if the underlying global value type changes 2021-03-09 15:09:48 -08:00
tools Revert "[llvm-cov] reset executation count to 0 after wrapped segment" 2021-03-09 14:47:32 -08:00
Transforms [SLC] Simplify strcpy and friends with non-zero address spaces 2021-03-10 11:17:34 +00:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg.py
lit.site.cfg.py.in
TestRunner.sh