1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 02:33:06 +01:00
llvm-mirror/unittests
Zachary Turner 8f68390df4 Add support for unittest inputs.
Occasionally it is useful to have unittest which take inputs.
While we normally try to have this test be more of a lit test
we occasionally don't have tools that can exercise the code
in the right way to test certain things.  LLDB has been using
this style of unit test for a while, particularly with regards
to how it tests core dump and minidump file parsing.  Recently
i needed this as well for the case where we want to test that
some of the PDB reading code works correctly.  It needs to
exercise the code in a way that is not covered by any dumper
and would be impractical to implement in one of the dumpers,
but requires a valid PDB file.  Since this is now needed by
more than one project, it makes sense to have this be a
generally supported thing that unit tests can do, and we just
encourage people to use this sparingly.

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

llvm-svn: 341502
2018-09-05 23:30:17 +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 Pass a reference to a module to the bitcode writer. 2018-02-14 19:11:32 +00:00
CodeGen [Codegen] Fix test added in rL341380: AArch64SelectionDAGTest needs to link against Analysis lib. 2018-09-04 20:19:17 +00:00
DebugInfo [codeview] Use push_macro to avoid conflicts instead of a prefix 2018-08-16 17:34:31 +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 [FuzzMutate] Inst deleter doesn't work with PhiNodes 2018-01-25 09:22:18 +00:00
IR [IR] add shuffle queries for identity extend/extract 2018-08-30 15:05:38 +00:00
LineEditor
Linker Inline a few CMake variables into their only uses. 2018-05-14 19:23:31 +00:00
MC [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-27 15:45:51 +00:00
MI [LiveIntervals] Handle moving up dead partial write 2018-02-26 14:42:13 +00:00
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 [NFC] Change sample profile format enum name SPF_Raw_Binary to SPF_Binary. 2018-06-12 05:53:49 +00:00
Support More build fix for r341064. 2018-08-30 14:05:49 +00:00
Target [WebAssembly] Add WebAssemblyException information analysis 2018-06-25 01:20:21 +00:00
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 alphabetize list 2018-05-14 18:23:05 +00:00
unittest.cfg.in Add support for unittest inputs. 2018-09-05 23:30:17 +00:00