1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 12:43:36 +01:00
llvm-mirror/include/llvm/Support
Lang Hames 3302570b39 [Support] Add a basic C API for llvm::Error.
Summary:
The C-API supports consuming errors, converting an error to a string error
message, and querying an error's type. Other LLVM C APIs that wish to use
llvm::Error can supply error-type-id checkers and custom
error-to-structured-type converters for any custom errors they provide.

Reviewers: bogner, zturner, labath, dblaikie

Subscribers: llvm-commits

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

llvm-svn: 339802
2018-08-15 18:42:11 +00:00
..
Solaris/sys
AArch64TargetParser.def Follow up of r335953 - [ARM][AArch64] Armv8.4-A Enablement 2018-07-02 15:38:37 +00:00
AlignOf.h Replace LLVM_ALIGNAS with alignas as a follow-up of r337330 2018-07-27 05:38:14 +00:00
Allocator.h Use uniform mechanism for OOM errors handling 2018-06-09 05:19:45 +00:00
AMDGPUMetadata.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
AMDHSAKernelDescriptor.h AMDHSA: Rename RESERVED -> RESERVED0, mark gfx9-specific field 2018-06-27 05:18:50 +00:00
ARMAttributeParser.h
ARMBuildAttributes.h [ARM] Complete enumeration values for Tag_ABI_VFP_args 2018-07-31 13:24:49 +00:00
ARMEHABI.h
ARMTargetParser.def Follow up of r335953 - [ARM][AArch64] Armv8.4-A Enablement 2018-07-02 15:38:37 +00:00
ARMWinEH.h
ArrayRecycler.h
Atomic.h
AtomicOrdering.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
BinaryByteStream.h Move some code from PDBFileBuilder to MSFBuilder. 2018-06-27 21:18:15 +00:00
BinaryItemStream.h
BinaryStream.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
BinaryStreamArray.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
BinaryStreamError.h
BinaryStreamReader.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
BinaryStreamRef.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
BinaryStreamWriter.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
BlockFrequency.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
BranchProbability.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
CachePruning.h
Capacity.h
Casting.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
CBindingWrapping.h
CFGUpdate.h Add proper headers in CFGUpdate.h and add CFGDiff.h in the list of delayed headers for LLVM_intrinsic_gen. 2018-08-14 20:49:19 +00:00
CheckedArithmetic.h Update comments of CheckedArithmetic API based on Philip Reames feedback. 2018-06-13 20:48:53 +00:00
Chrono.h
circular_raw_ostream.h
CMakeLists.txt
CodeGen.h
CodeGenCoverage.h [GlobalISel] Reporting rules covered as part of the InstructionSelect's debug-only printing 2018-04-26 20:22:17 +00:00
COM.h
CommandLine.h [CommandLine] Error message for incorrect PositionalEatArgs usage 2018-05-14 23:26:06 +00:00
Compiler.h [ADT] Add llvm::unique_function which is like std::function but 2018-07-02 23:57:29 +00:00
Compression.h Use the same constants as zlib to represent compression level. 2018-08-04 00:13:13 +00:00
ConvertUTF.h [Support] Add missing includes of <system_error> for std::error_code 2018-06-20 09:17:19 +00:00
CrashRecoveryContext.h
DataExtractor.h Remove trailing space 2018-07-30 19:41:25 +00:00
DataTypes.h
Debug.h [MemorySSA] Expose the verify as a debug option. 2018-08-15 17:34:55 +00:00
DebugCounter.h [Support] Add an enable bit to our DebugCounters 2018-08-02 19:50:27 +00:00
DJB.h
DOTGraphTraits.h
DynamicLibrary.h Remove @brief commands from doxygen comments, too. 2018-05-01 16:10:38 +00:00
Endian.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
EndianStream.h Support: Simplify endian stream interface. NFCI. 2018-05-18 19:46:24 +00:00
Errc.h [Support] Bring std::errc::not_supported to llvm::errc. 2018-07-27 09:15:05 +00:00
Errno.h [Support] Clear errno before calling the function in RetryAfterSignal. 2018-07-07 02:46:12 +00:00
Error.h [Support] Add a basic C API for llvm::Error. 2018-08-15 18:42:11 +00:00
ErrorHandling.h
ErrorOr.h Use std::reference_wrapper instead of llvm::ReferenceStorage 2018-07-19 09:24:34 +00:00
FileCheck.h Refactor FileCheck to make it usable as an API 2018-08-07 21:58:49 +00:00
FileOutputBuffer.h Add a flag to FileOutputBuffer that allows modification. 2018-06-28 18:49:09 +00:00
FileSystem.h [Support] NFC: Allow modifying access/modification times independently in sys::fs::setLastModificationAndAccessTime. 2018-08-13 23:03:45 +00:00
FileUtilities.h
Format.h
FormatAdapters.h [Support] Require llvm::Error passed to formatv() to be wrapped in fmt_consume() 2018-07-12 07:11:28 +00:00
FormatCommon.h
FormatProviders.h
FormattedStream.h
FormatVariadic.h [Support] Make support types more easily printable. 2018-07-06 05:45:45 +00:00
FormatVariadicDetails.h [Support] Require llvm::Error passed to formatv() to be wrapped in fmt_consume() 2018-07-12 07:11:28 +00:00
GenericDomTree.h [DomTree] Cleanup Update and LegalizeUpdate API moved to Support header. 2018-08-14 17:12:30 +00:00
GenericDomTreeConstruction.h [DomTree] Cleanup Update and LegalizeUpdate API moved to Support header. 2018-08-14 17:12:30 +00:00
GlobPattern.h
GraphWriter.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
Host.h s/LLVM_ON_WIN32/_WIN32/, llvm 2018-04-29 00:45:03 +00:00
InitLLVM.h Rename sys::Process::GetArgumentVector -> sys::windows::GetCommandLineArguments 2018-04-17 21:09:16 +00:00
JamCRC.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
JSON.h [Support][JSON][NFC] Silence GCC warning about broken strict aliasing rules 2018-08-12 17:31:46 +00:00
KnownBits.h Fix comment typo. NFCI. 2018-07-05 13:51:35 +00:00
LEB128.h
LICENSE.TXT
LineIterator.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
Locale.h
LockFileManager.h LTO: Keep file handles open for memory mapped files. 2018-06-13 18:03:14 +00:00
LowLevelTypeImpl.h
MachineValueType.h
ManagedStatic.h
MathExtras.h Fix CRLF line endings. 2018-06-25 03:13:27 +00:00
MD5.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
MemAlloc.h Use uniform mechanism for OOM errors handling 2018-06-09 05:19:45 +00:00
Memory.h Remove @brief commands from doxygen comments, too. 2018-05-01 16:10:38 +00:00
MemoryBuffer.h [Support] Remove unnecessary MemoryBuffer::anchor (where the destructor serves as the key function) 2018-07-27 23:12:11 +00:00
MipsABIFlags.h [mips] Add support for Global INValidate ASE 2018-05-17 16:30:32 +00:00
Mutex.h Remove @brief commands from doxygen comments, too. 2018-05-01 16:10:38 +00:00
MutexGuard.h Remove @brief commands from doxygen comments, too. 2018-05-01 16:10:38 +00:00
NativeFormatting.h
OnDiskHashTable.h Support: Simplify endian stream interface. NFCI. 2018-05-18 19:46:24 +00:00
Options.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
Parallel.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
Path.h [Support] Add missing includes of <system_error> for std::error_code 2018-06-20 09:17:19 +00:00
PluginLoader.h
PointerLikeTypeTraits.h [ADT] Add llvm::unique_function which is like std::function but 2018-07-02 23:57:29 +00:00
PrettyStackTrace.h
Printable.h
Process.h Remove @brief commands from doxygen comments, too. 2018-05-01 16:10:38 +00:00
Program.h Refactor ExecuteAndWait to take StringRefs. 2018-06-12 17:43:52 +00:00
RandomNumberGenerator.h
raw_os_ostream.h
raw_ostream.h [ADT] Replace std::isprint by llvm::isPrint. 2018-07-26 15:31:41 +00:00
raw_sha1_ostream.h
Recycler.h
RecyclingAllocator.h
Regex.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
Registry.h
ReverseIteration.h
RWMutex.h Remove @brief commands from doxygen comments, too. 2018-05-01 16:10:38 +00:00
SaveAndRestore.h [Support] Remove SaveOr which is no longer used 2018-07-03 23:31:19 +00:00
ScaledNumber.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
ScopedPrinter.h
SHA1.h
Signals.h Signal handling should be signal-safe 2018-05-16 17:25:35 +00:00
SmallVectorMemoryBuffer.h [Support] Remove unnecessary MemoryBuffer::anchor (where the destructor serves as the key function) 2018-07-27 23:12:11 +00:00
SMLoc.h Fix comment. NFC 2018-05-07 05:21:20 +00:00
SourceMgr.h
SpecialCaseList.h
StringPool.h
StringSaver.h [Support] Add a UniqueStringSaver: like StringSaver, but deduplicating. 2018-07-23 10:44:40 +00:00
SwapByteOrder.h
SystemUtils.h Remove @brief commands from doxygen comments, too. 2018-05-01 16:10:38 +00:00
TargetOpcodes.def [GISel]: Add Opcodes for CTLZ/CTTZ/CTPOP 2018-08-04 01:22:12 +00:00
TargetParser.h [AArch64] Armv8.2-A: add the crypto extensions 2018-07-26 07:13:59 +00:00
TargetRegistry.h Fix Wdocumentation warning. NFCI. 2018-05-30 19:50:26 +00:00
TargetSelect.h
TarWriter.h
TaskQueue.h Try to fix build error on non MSVC compilers. 2018-06-25 04:35:35 +00:00
thread.h
Threading.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
ThreadLocal.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
ThreadPool.h Revert "Enable ThreadPool to queue tasks that return values." 2018-06-13 21:24:19 +00:00
Timer.h [Timers] TimerGroup: add constructor from StringMap<TimeRecord> 2018-05-16 18:16:01 +00:00
ToolOutputFile.h [NFC] Fix typo in variable name. 2018-05-07 13:26:47 +00:00
TrailingObjects.h Replace LLVM_ALIGNAS with alignas as a follow-up of r337330 2018-07-27 05:38:14 +00:00
TrigramIndex.h
type_traits.h [Support] Fix llvm::unique_function when building with GCC 4.9 by 2018-07-03 01:18:21 +00:00
TypeName.h
Unicode.h
UnicodeCharRanges.h Rename DEBUG macro to LLVM_DEBUG. 2018-05-14 12:53:11 +00:00
UniqueLock.h Remove @brief commands from doxygen comments, too. 2018-05-01 16:10:38 +00:00
Valgrind.h
VersionTuple.h Move VersionTuple from clang/Basic to llvm/Support 2018-06-11 10:28:04 +00:00
Watchdog.h
Win64EH.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
WindowsError.h
WithColor.h [Support] Move header to WithColor header 2018-05-24 11:47:20 +00:00
X86DisassemblerDecoderCommon.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
X86TargetParser.def [X86] Introduce archs: goldmont-plus & tremont 2018-04-16 07:47:35 +00:00
xxhash.h Make ICF log output order deterministic. 2018-07-31 18:04:58 +00:00
YAMLParser.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
YAMLTraits.h [YAML] Quote multiline string scalars 2018-05-30 10:40:11 +00:00