1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-23 21:13:02 +02:00
llvm-mirror/test
Zachary Turner ab975dc712 [pdb] Fix an uninitialized read, and add a test for it.
This was originally reported in pr32249, uncovered by PTVS-Studio.
There was no code coverage for this path because it was
difficult to construct odd-case PDB files that were not generated
by cl.

Now that we can write construct minimal PDB files from YAML,
it's easy to construct fragments that generate whatever we want.

In this patch I add a test that creates 2 type records.  One
with a unique name, and one without.  I verify that we can go
from PDB to Yaml with no errors.  In a future patch I'd like
to add something like llvm-pdbdump raw -lookup-type that will
just dump one record and nothing else, which should make it
a bit cleaner to find this kind of thing.

llvm-svn: 298017
2017-03-17 00:15:55 +00:00
..
Analysis [SCEV] Compute affine range in another way to avoid bitwidth extending. 2017-03-16 21:07:38 +00:00
Assembler [DebugInfo] Emit address space with DW_AT_address_class attribute for pointer and reference types 2017-03-08 23:55:44 +00:00
Bindings
Bitcode [DebugInfo] Emit address space with DW_AT_address_class attribute for pointer and reference types 2017-03-08 23:55:44 +00:00
BugPoint
CodeGen CodeGen: BlockPlacement: Adjust test case so it covers rL297925. NFC 2017-03-16 21:33:29 +00:00
DebugInfo [pdb] Fix an uninitialized read, and add a test for it. 2017-03-17 00:15:55 +00:00
Examples
ExecutionEngine
Feature
FileCheck [FileCheck] Added --enable-var-scope option to enable scope for regex variables. 2017-03-09 17:59:04 +00:00
Instrumentation Resubmit r297897: [PGO] Value profile for size of memory intrinsic calls 2017-03-16 21:15:48 +00:00
Integer
JitListener
LibDriver
Linker [Linker] Provide callback for internalization 2017-03-13 18:08:11 +00:00
LTO Perform symbol binding for .symver versioned symbols 2017-03-09 00:19:49 +00:00
MC [Hexagon] Fixing test from 297920 to add Hexagon triple. 2017-03-16 01:52:10 +00:00
Object Archives require a symbol table on Solaris, even if empty. 2017-03-14 19:57:13 +00:00
ObjectYAML
Other Bring back r297624. 2017-03-13 20:00:25 +00:00
SymbolRewriter
TableGen [globalisel][tblgen] Add support for ComplexPatterns 2017-03-14 21:32:08 +00:00
ThinLTO/X86 LTO: Hash type identifier resolutions for WholeProgramDevirt. 2017-03-10 21:37:10 +00:00
tools [llvm-config] Add minimal sanity tests for path options 2017-03-15 05:57:29 +00:00
Transforms Resubmit r297897: [PGO] Value profile for size of memory intrinsic calls 2017-03-16 21:15:48 +00:00
Unit
Verifier [DebugInfo] Emit address space with DW_AT_address_class attribute for pointer and reference types 2017-03-08 23:55:44 +00:00
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg
lit.site.cfg.in
TestRunner.sh