llvm-project/llvm/test
Nico Weber 64041d7b90 llvm-undname: Fix nullptr deref on invalid conversion operator names in template args
A ConversionOperatorIdentifierNode has a TargetType which is read when
printing it, but if the ConversionOperatorIdentifierNode appears in a
template argument there's nothing that can provide the TargetType.
Normally the COIN is a symbol (leaf) name and takes its TargetType from the
symbol's type, but in a template argument context the COIN can only be
either a non-leaf name piece or a type, and must hence be invalid.

Similar to the COIN check in demangleDeclarator().

Found by oss-fuzz.

llvm-svn: 358421
2019-04-15 16:42:44 +00:00
..
Analysis [MemorySSA] Add previous def to cache when found, even if trivial. 2019-04-12 21:58:52 +00:00
Assembler Add LLVM IR debug info support for Fortran COMMON blocks 2019-04-08 19:13:55 +00:00
Bindings
Bitcode [ObjC][ARC] Convert the retainRV marker that is passed as a named 2019-04-10 06:20:20 +00:00
BugPoint
CodeGen Codegen: Fixed perf branch_weights in couple of tests. NFC. 2019-04-15 09:30:31 +00:00
DebugInfo [DebugInfo] Combine Trivial and NonTrivial flags 2019-04-11 20:25:10 +00:00
Demangle llvm-undname: Fix nullptr deref on invalid conversion operator names in template args 2019-04-15 16:42:44 +00:00
Examples
ExecutionEngine Simplify decoupling between RuntimeDyld/RuntimeDyldChecker, add 'got_addr' util. 2019-04-12 18:07:28 +00:00
Feature
FileCheck
Instrumentation Fix a hang when lowering __builtin_dynamic_object_size 2019-04-10 23:42:11 +00:00
Integer
JitListener
LTO Revert [ThinLTO] Fix ThinLTOCodegenerator to export llvm.used symbols 2019-04-08 18:53:21 +00:00
Linker
MC [WebAssembly] Add DataCount section to object files 2019-04-12 22:27:48 +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
Object [llvm-readobj] Reapply: Improve error message for --string-dump 2019-04-15 11:17:48 +00:00
ObjectYAML
Other
SafepointIRVerifier
SymbolRewriter
TableGen [TableGen] Include schedule model name in diagnostic. 2019-04-15 10:06:26 +00:00
ThinLTO/X86 Commit accidentally omitted test case. 2019-04-01 16:29:40 +00:00
Transforms [EarlyCSE] add tests for selects with commuted operands (PR41101); NFC 2019-04-15 16:01:05 +00:00
Unit
Verifier
YAMLParser
tools [llvm-objdump] Simplify PrintHelpMessage() logic 2019-04-15 15:52:32 +00:00
.clang-format
CMakeLists.txt
TestRunner.sh
lit.cfg.py
lit.site.cfg.py.in