1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 10:42:39 +01:00
llvm-mirror/unittests
Zachary Turner bcf0078c33 [PDB] Refactor the PDB symbol classes to fix a reuse bug.
The way DIA SDK works is that when you request a symbol, it
gets assigned an internal identifier that is unique for the
life of the session.  You can then use this identifier to
get back the same symbol, with all of the same internal state
that it had before, even if you "destroyed" the original
copy of the object you had.

This didn't work properly in our native implementation, and
if you destroyed an object for a particular symbol, then
requested the same symbol again, it would get assigned a new
ID and you'd get a fresh copy of the object.  In order to fix
this some refactoring had to happen to properly reuse cached
objects.  Some unittests are added to verify that symbol
reuse is taking place, making use of the new unittest input
feature.

llvm-svn: 341503
2018-09-05 23:30:38 +00:00
..
ADT Add header guards to some headers that are missing them 2018-09-03 16:22:05 +00:00
Analysis Rename a few unittests/.../Foo.cpp files to FooTest.cpp 2018-09-03 12:43:26 +00:00
AsmParser
BinaryFormat Fix comparison of char and int64 in TestWriteFixNegativeInt 2018-08-23 07:12:05 +00:00
Bitcode
CodeGen [Codegen] Fix test added in rL341380: AArch64SelectionDAGTest needs to link against Analysis lib. 2018-09-04 20:19:17 +00:00
DebugInfo [PDB] Refactor the PDB symbol classes to fix a reuse bug. 2018-09-05 23:30:38 +00:00
Demangle Attempt to fix some MSVC build errors. 2018-08-13 17:39:19 +00:00
ExecutionEngine Remove some unnecessary constructor arguments. 2018-09-05 20:57:41 +00:00
FuzzMutate
IR [IR] add shuffle queries for identity extend/extract 2018-08-30 15:05:38 +00:00
LineEditor
Linker
MC [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-27 15:45:51 +00:00
MI
Object
ObjectYAML
Option Revert r341329 due to MSAN error 2018-09-03 18:13:46 +00:00
Passes Revert "unittests: Don't install TestPlugin.so" 2018-08-16 17:15:03 +00:00
ProfileData
Support More build fix for r341064. 2018-08-30 14:05:49 +00:00
Target
tools Add header guards to some headers that are missing them 2018-09-03 16:22:05 +00:00
Transforms Rename a few unittests/.../Foo.cpp files to FooTest.cpp 2018-09-03 12:43:26 +00:00
XRay [XRay] Use a function to return a constant 2018-09-05 16:03:21 +00:00
CMakeLists.txt
unittest.cfg.in Add support for unittest inputs. 2018-09-05 23:30:17 +00:00