codegen_set_diagnostic_handler method.
void (*invoke) (
lto_codegen_diagnostic_severity_t severity,
char const *diag,
void *ctxt
)
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Access | Constructor and Description |
|---|---|
| protected | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public static LTODiagnosticHandler | Returns: the newLTODiagnosticHandlerCreates a |
| public static LTODiagnosticHandler | create(LTODiagnosticHandlerI instance)
Creates a |
| public static LTODiagnosticHandler |
| LTODiagnosticHandler | back to summary |
|---|---|
| protected LTODiagnosticHandler() | |
| LTODiagnosticHandler | back to summary |
|---|---|
| pack-priv LTODiagnosticHandler(long functionPointer) | |
| create | back to summary |
|---|---|
| public static LTODiagnosticHandler create(long functionPointer) Creates a
| |
| create | back to summary |
|---|---|
| public static LTODiagnosticHandler create(LTODiagnosticHandlerI instance) Creates a | |
| createSafe | back to summary |
|---|---|
| public static LTODiagnosticHandler createSafe(long functionPointer) Like
| |
| Modifier and Type | Field and Description |
|---|---|
| private final LTODiagnosticHandlerI |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | invoke(int
the severity severity, long the actual diagnostic. The diagnostic is not prefixed by any of severity keyword, e.g., 'error: '. diag, long used to pass the context set with the diagnostic handler ctxt)Implements org. |
| delegate | back to summary |
|---|---|
| private final LTODiagnosticHandlerI delegate | |
| Container | back to summary |
|---|---|
| pack-priv Container(long functionPointer, LTODiagnosticHandlerI delegate) | |
| invoke | back to summary |
|---|---|
| public void invoke(int severity, long diag, long ctxt) Implements org. Doc from org. Diagnostic handler type.
| |