1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/unittests
Francis Visoiu Mistrih d9a26939d3 [Remarks] Simplify and refactor the RemarkParser interface
Before, everything was based on some kind of type erased parser
implementation which container a lot of boilerplate code when multiple
formats were to be supported.

This simplifies it by:

* the remark now owns its arguments
* *always* returning an error from the implementation side
* working around the way the YAML parser reports errors: catch them through
callbacks and re-insert them in a proper llvm::Error
* add a CParser wrapper that is used when implementing the C API to
avoid cluttering the C++ API with useless state
* LLVMRemarkParserGetNext now returns an object that needs to be
released to avoid leaking resources
* add a new API to dispose of a remark entry: LLVMRemarkEntryDispose

llvm-svn: 366217
2019-07-16 15:25:05 +00:00
..
ADT [ADT] Remove MSVC-only "no two-phase name lookup" typename path. 2019-07-09 15:24:19 +00:00
Analysis [LoopInfo] Introduce getUniqueNonLatchExitBlocks utility function 2019-07-15 05:51:10 +00:00
AsmParser
BinaryFormat [YAMLIO] Remove trailing spaces when outputting maps 2019-07-12 04:51:31 +00:00
Bitcode [Bitcode] Move Bitstream to a separate library 2019-07-03 22:40:07 +00:00
Bitstream [Bitcode] Move Bitstream to a separate library 2019-07-03 22:40:07 +00:00
CodeGen [unittest] Add the missing bogus machine register info initialization. 2019-07-09 18:22:48 +00:00
DebugInfo [DWARF] Fix the reserved values for unit length in DWARFDebugLine. 2019-07-16 07:01:08 +00:00
Demangle
ExecutionEngine [ORC] Rename MaterializationResponsibility resolve and emit methods to 2019-06-13 20:11:23 +00:00
FuzzMutate
IR Revert "r366069: [PatternMatch] Implement matching code for LibFunc" 2019-07-15 16:43:36 +00:00
LineEditor
Linker
MC
MI
Object Minidump: Add support for the MemoryList stream 2019-05-16 15:17:30 +00:00
ObjectYAML
Option Option spell checking: Penalize delimiter flags if input has no argument 2019-05-01 16:45:15 +00:00
Passes
ProfileData [Profile] Support raw/indexed profiles larger than 4GB 2019-07-09 22:01:04 +00:00
Remarks [Remarks] Simplify and refactor the RemarkParser interface 2019-07-16 15:25:05 +00:00
Support [FileCheck] Store line numbers as optional values 2019-07-15 19:04:56 +00:00
Target [WebAssembly] Rename except_ref type to exnref 2019-07-15 22:49:25 +00:00
TextAPI [YAMLIO] Remove trailing spaces when outputting maps 2019-07-12 04:51:31 +00:00
tools Revert CMake: Make most target symbols hidden by default 2019-06-11 03:21:13 +00:00
Transforms Keep the order of the basic blocks in the cloned loop as the original 2019-07-08 18:30:35 +00:00
XRay
CMakeLists.txt [Bitcode] Move Bitstream to a separate library 2019-07-03 22:40:07 +00:00
unittest.cfg.in