1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00
llvm-mirror/include/llvm
Lang Hames 69d7550bd6 [Support] Add the 'Error' class for structured error handling.
This patch introduces the Error classs for lightweight, structured,
recoverable error handling. It includes utilities for creating, manipulating
and handling errors. The scheme is similar to exceptions, in that errors are
described with user-defined types. Unlike exceptions however, errors are
represented as ordinary return types in the API (similar to the way
std::error_code is used).

For usage notes see the LLVM programmer's manual, and the Error.h header.
Usage examples can be found in unittests/Support/ErrorTest.cpp.

Many thanks to David Blaikie, Mehdi Amini, Kevin Enderby and others on the
llvm-dev and llvm-commits lists for lots of discussion and review.

llvm-svn: 263609
2016-03-16 01:02:46 +00:00
..
ADT DenseMap: make .resize() do the intuitive thing 2016-03-15 01:50:46 +00:00
Analysis Add Rust's personality function to the list of known personality functions 2016-03-15 20:35:45 +00:00
AsmParser [AsmParser] Expose an API to parse a string starting with a type. 2016-03-08 00:37:07 +00:00
Bitcode [ThinLTO] Renaming of function index to module summary index (NFC) 2016-03-15 00:04:37 +00:00
CodeGen [IRTranslator] Translate unconditional branches. 2016-03-11 17:28:03 +00:00
Config [CMake] Add PACKAGE_VENDOR for customizing version output 2016-03-15 18:07:46 +00:00
DebugInfo [DebugInfoPDB] Add source / line number accessors for PDB. 2016-02-18 18:47:29 +00:00
ExecutionEngine [JITEventListener] Fix some -Wundef warnings 2016-03-14 20:49:06 +00:00
IR AMDGPU/SI: Implement GroupStaticSize Intrinsic for Dynamic LDS 2016-03-15 17:28:44 +00:00
IRReader [ThinLTO] Metadata linking for imported functions 2015-12-17 17:14:09 +00:00
LibDriver LibDriver: Replace references to lld-link2 with lld-link. 2015-08-06 19:00:42 +00:00
LineEditor Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
Linker [ThinLTO] Renaming of function index to module summary index (NFC) 2016-03-15 00:04:37 +00:00
LTO [ThinLTO] Renaming of function index to module summary index (NFC) 2016-03-15 00:04:37 +00:00
MC [MC] Rename TLSDESC as it's not ARM specific. 2016-03-15 17:29:52 +00:00
Object [llvm-objdump] Add support for dumping the PE TLS directory 2016-03-15 06:14:01 +00:00
ObjectYAML Move ObjectYAML code to a new library. 2016-03-01 19:15:06 +00:00
Option Convert Arg, ArgList, and Option to dump() to dbgs() rather than errs(). 2015-12-18 18:55:26 +00:00
Passes [PM] Wire up optimization levels and default pipeline construction APIs 2016-02-28 22:16:03 +00:00
ProfileData [ThinLTO] Support for reference graph in per-module and combined summary. 2016-03-11 18:52:24 +00:00
Support [Support] Add the 'Error' class for structured error handling. 2016-03-16 01:02:46 +00:00
TableGen Reverting r263474; it turns out there are uses of the public interface, but MSVC wasn't caring about them. 2016-03-14 20:03:15 +00:00
Target [GlobalISel][Target] Add an opcode for unconditional branch. 2016-03-11 17:27:38 +00:00
Transforms [LV] Preserve LoopInfo when store predication is used 2016-03-15 18:06:20 +00:00
CMakeLists.txt
InitializePasses.h [PM] Port GVN to the new pass manager, wire it up, and teach a couple of 2016-03-11 08:50:55 +00:00
LinkAllIR.h
LinkAllPasses.h [PM] Port GVN to the new pass manager, wire it up, and teach a couple of 2016-03-11 08:50:55 +00:00
module.modulemap Add Lanai.def to the module map. 2016-03-12 01:31:53 +00:00
module.modulemap.build
Pass.h Recommit r256952 "Filtering IR printing for print-after-all/print-before-all" 2016-01-06 22:55:03 +00:00
PassAnalysisSupport.h [PassManager] Tuning Memory Usage of AnalysisUsage 2015-12-08 00:10:56 +00:00
PassInfo.h Reformat partially. 2015-10-05 04:46:30 +00:00
PassRegistry.h Reorganize the C API headers to improve build times. 2015-12-18 01:46:52 +00:00
PassSupport.h Support: Clean up TSan annotations. 2015-08-18 22:31:24 +00:00