llvm-6502/include/llvm
Quentin Colombet 4c831d97bf [LTO] Add a hook to map LLVM diagnostics into the clients of LTO.
Add a hook in the C API of LTO so that clients of the code generator can set
their own handler for the LLVM diagnostics.
The handler is defined like this:
typedef void (*lto_diagnostic_handler_t)(lto_codegen_diagnostic_severity_t
severity, const char *diag, void *ctxt)
- severity says how bad this is.
- diag is a string that contains the diagnostic message.
- ctxt is the registered context for this handler.

This hook is more general than the lto_get_error_message, since this function
keeps only the latest message and can only be queried when something went wrong
(no warning for instance).

<rdar://problem/15517596>


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199338 91177308-0d34-0410-b5e6-96231b3b80d8
2014-01-15 22:04:35 +00:00
..
ADT Add missing definitions of key_type and value_type to DenseSet. 2014-01-08 21:38:04 +00:00
Analysis Fix PR18449: SCEV needs more precise max BECount for multi-exit loop. 2014-01-15 06:42:11 +00:00
AsmParser
Bitcode Make parseBitcodeFile return an ErrorOr<Module *>. 2014-01-15 01:08:23 +00:00
CodeGen Add FPExt option to CCValAssign::LocInfo. When generating calling-convention 2014-01-14 19:56:36 +00:00
Config Remove the test for endianness in configure.ac and regenerate. 2014-01-09 01:09:57 +00:00
DebugInfo llvm-dwarfdump: type unit dwo support 2014-01-09 05:08:24 +00:00
ExecutionEngine
IR WinCOFF: Transform IR expressions featuring __ImageBase into image relative relocations 2014-01-15 09:16:42 +00:00
IRReader
LTO [LTO] Add a hook to map LLVM diagnostics into the clients of LTO. 2014-01-15 22:04:35 +00:00
MC Replace .mips_hack_stocg with ".set micromips" and ".set nomicromips". 2014-01-14 04:25:13 +00:00
Object Return an ErrorOr<Binary *> from createBinary. 2014-01-15 19:37:43 +00:00
Option
Support Remove support for armv7f slice. <rdar://problem/12478440> 2014-01-15 21:44:14 +00:00
TableGen
Target WinCOFF: Transform IR expressions featuring __ImageBase into image relative relocations 2014-01-15 09:16:42 +00:00
Transforms Reapply "LTO: add API to set strategy for -internalize" 2014-01-14 18:52:17 +00:00
AutoUpgrade.h
CMakeLists.txt
DebugInfo.h
DIBuilder.h
GVMaterializer.h
InitializePasses.h [PM] Split DominatorTree into a concrete analysis result object which 2014-01-13 13:07:17 +00:00
InstVisitor.h
LinkAllIR.h [cleanup] Move the Dominators.h and Verifier.h headers into the IR 2014-01-13 09:26:24 +00:00
LinkAllPasses.h [PM] Simplify the interface exposed for IR printing passes. 2014-01-12 11:30:46 +00:00
Linker.h
Pass.h
PassAnalysisSupport.h
PassManager.h
PassRegistry.h
PassSupport.h