OrcCreateCustomCAPIDefinitionGenerator method.
LLVMErrorRef (*invoke) (
LLVMOrcDefinitionGeneratorRef GeneratorObj,
void *Ctx,
LLVMOrcLookupStateRef *LookupState,
LLVMOrcLookupKind Kind,
LLVMOrcJITDylibRef JD,
LLVMOrcJITDylibLookupFlags JDLookupFlags,
LLVMOrcCLookupSet LookupSet,
size_t LookupSetSize
)
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Access | Constructor and Description |
|---|---|
| protected | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public static LLVMOrcCAPIDefinitionGeneratorTryToGenerateFunction | Returns: the newLLVMOrcCAPIDefinitionGeneratorTryToGenerateFunctionCreates a |
| public static LLVMOrcCAPIDefinitionGeneratorTryToGenerateFunction | create(LLVMOrcCAPIDefinitionGeneratorTryToGenerateFunctionI instance)
Creates a |
| public static LLVMOrcCAPIDefinitionGeneratorTryToGenerateFunction |
| LLVMOrcCAPIDefinitionGeneratorTryToGenerateFunction | back to summary |
|---|---|
| protected LLVMOrcCAPIDefinitionGeneratorTryToGenerateFunction() | |
| LLVMOrcCAPIDefinitionGeneratorTryToGenerateFunction | back to summary |
|---|---|
| pack-priv LLVMOrcCAPIDefinitionGeneratorTryToGenerateFunction(long functionPointer) | |
| create | back to summary |
|---|---|
| public static LLVMOrcCAPIDefinitionGeneratorTryToGenerateFunction create(long functionPointer) Creates a
| |
| create | back to summary |
|---|---|
| public static LLVMOrcCAPIDefinitionGeneratorTryToGenerateFunction create(LLVMOrcCAPIDefinitionGeneratorTryToGenerateFunctionI instance) Creates a | |
| createSafe | back to summary |
|---|---|
| public static LLVMOrcCAPIDefinitionGeneratorTryToGenerateFunction createSafe(long functionPointer) Like
| |
| Modifier and Type | Field and Description |
|---|---|
| private final LLVMOrcCAPIDefinitionGeneratorTryToGenerateFunctionI |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public long | invoke(long
will contain the address of the custom generator object GeneratorObj, long will contain the context object passed to Ctx, long LLVMOrcCreateCustomCAPIDefinitionGenerator.will contain a pointer to an LookupState, int LLVMOrcLookupStateRef object.
This can optionally be modified to make the definition generation process asynchronous: If the can be inspected to determine the lookup kind (e.g. as-if-during-static-link, or as-if-during-dlsym) Kind, long specifies which JD, int JITDylib the definitions should be generated intocan be inspected to determine whether the original lookup included non-exported symbols JDLookupFlags, long contains the set of symbols that could not be found in LookupSet, long LookupSetSize)JD already (the set of generation candidates)Implements org. |
| delegate | back to summary |
|---|---|
| private final LLVMOrcCAPIDefinitionGeneratorTryToGenerateFunctionI delegate | |
| Container | back to summary |
|---|---|
| pack-priv Container(long functionPointer, LLVMOrcCAPIDefinitionGeneratorTryToGenerateFunctionI delegate) | |
| invoke | back to summary |
|---|---|
| public long invoke(long GeneratorObj, long Ctx, long LookupState, int Kind, long JD, int JDLookupFlags, long LookupSet, long LookupSetSize) Implements org. Doc from org. A custom generator function. This can be used to create a custom generator object using
| |