1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/test
Nico Weber d4f564fc30 llvm-undname: Fix more crashes and asserts on invalid inputs
For functions whose callers don't check that enough input is present,
add checks at the start of the function that enough input is there and
set Error otherwise.

For functions that return AST objects, return nullptr instead of
incomplete AST objects with nullptr fields if an error occurred during
the function.

Introduce a new function demangleDeclarator() for the sequence
demangleFullyQualifiedSymbolName(); demangleEncodedSymbol() and
use it in the two places that had this sequence. Let this new function
check that ConversionOperatorIdentifiers have a valid TargetType.

Some of the bad inputs found by oss-fuzz, others by inspection.

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

llvm-svn: 357936
2019-04-08 19:46:53 +00:00
..
Analysis [CostModel][X86] Add more exhaustive masked load/store/gather/scatter/expand/compress cost tests 2019-04-06 12:08:37 +00:00
Assembler Add LLVM IR debug info support for Fortran COMMON blocks 2019-04-08 19:13:55 +00:00
Bindings
Bitcode
BugPoint
CodeGen [X86][AVX] Add PR34380 shuffle test cases 2019-04-08 14:05:42 +00:00
DebugInfo Add LLVM IR debug info support for Fortran COMMON blocks 2019-04-08 19:13:55 +00:00
Demangle llvm-undname: Fix more crashes and asserts on invalid inputs 2019-04-08 19:46:53 +00:00
Examples
ExecutionEngine
Feature
FileCheck
Instrumentation [asan] Add options -asan-detect-invalid-pointer-cmp and -asan-detect-invalid-pointer-sub options. 2019-03-28 10:51:24 +00:00
Integer
JitListener
Linker
LTO Revert [ThinLTO] Fix ThinLTOCodegenerator to export llvm.used symbols 2019-04-08 18:53:21 +00:00
MachineVerifier [X86] Merge the different Jcc instructions for each condition code into single instructions that store the condition code as an operand. 2019-04-05 19:28:09 +00:00
MC [WebAssembly] Add new explicit relocation types for PIC relocations 2019-04-04 17:43:50 +00:00
Object [yaml2obj][obj2yaml] - Change how symbol's binding is descibed when parsing/dumping. 2019-04-03 14:53:42 +00:00
ObjectYAML
Other [NewPM] Fix a nasty bug with analysis invalidation in the new PM. 2019-03-28 00:51:36 +00:00
SafepointIRVerifier
SymbolRewriter
TableGen
ThinLTO/X86 Commit accidentally omitted test case. 2019-04-01 16:29:40 +00:00
tools [llvm-mca][scheduler-stats] Print issued micro opcodes per cycle. NFCI 2019-04-08 16:05:54 +00:00
Transforms [JumpThreading] Fix incorrect fold conditional after indirectbr/callbr 2019-04-08 18:20:35 +00:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg.py Fix llvm-rc tests. 2019-03-27 20:15:08 +00:00
lit.site.cfg.py.in
TestRunner.sh