llvm-6502/include/llvm-c
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
..
Transforms Add a Scalarizer pass. 2013-11-22 16:58:05 +00:00
Analysis.h
BitReader.h include/llvm-c: Whitespace. 2013-10-23 17:56:29 +00:00
BitWriter.h include/llvm-c: Whitespace. 2013-10-23 17:56:29 +00:00
Core.h Decouple dllexport/dllimport from linkage 2014-01-14 15:22:47 +00:00
Disassembler.h For the 'C' disassembler API, add a new ReferenceType for the 2014-01-06 22:08:08 +00:00
ExecutionEngine.h include/llvm-c: Whitespace. 2013-10-23 17:56:29 +00:00
Initialization.h Extracted ObjCARC.cpp into its own library libLLVMObjCARCOpts in preparation for refactoring the ARC Optimizer. 2013-01-28 01:35:51 +00:00
IRReader.h [llvm-c] Expose IRReader interface 2013-11-06 09:21:15 +00:00
Linker.h
LinkTimeOptimizer.h include/llvm-c: Whitespace. 2013-10-23 17:56:29 +00:00
lto.h [LTO] Add a hook to map LLVM diagnostics into the clients of LTO. 2014-01-15 22:04:35 +00:00
Object.h include/llvm-c: Whitespace. 2013-10-23 17:56:29 +00:00
Support.h Make sure LLVMLoadLibraryPermanently gets an extern "C" symbol. 2013-11-13 15:35:13 +00:00
Target.h [llvm-c] Remove dead typedef 2013-11-11 14:47:01 +00:00
TargetMachine.h Whitespace. 2014-01-10 11:12:01 +00:00