rocm.bindings.llvm.c.support#
2026-09-24
5 min read time
Advanced Micro Devices, Inc.
Functions#
|
|
|
This function permanently loads the dynamic library at the given path. |
|
This function parses the given arguments using the LLVM command line parser. |
|
This function will search through all previously loaded dynamic |
|
This functions permanently adds the symbol |
Module Contents#
- rocm.bindings.llvm.c.support.LLVMLoadLibraryPermanently(Filename)#
This function permanently loads the dynamic library at the given path.
It is safe to call this function multiple times for the same library.
- See:
sys::DynamicLibrary::LoadLibraryPermanently()
- Args:
- Returns:
int: (undocumented)
C signature
LLVMBool LLVMLoadLibraryPermanently(const char * Filename)
- rocm.bindings.llvm.c.support.LLVMParseCommandLineOptions(argc, argv, Overview)#
This function parses the given arguments using the LLVM command line parser.
Note that the only stable thing about this function is its signature; you cannot rely on any particular set of command line arguments being interpreted the same way across LLVM versions.
- See:
llvm::cl::ParseCommandLineOptions()
- Args:
C signature
void LLVMParseCommandLineOptions(int argc, const char *const * argv, const char * Overview)
- rocm.bindings.llvm.c.support.LLVMSearchForAddressOfSymbol(symbolName)#
This function will search through all previously loaded dynamic libraries for the symbol
symbolName.If it is found, the address of that symbol is returned.If not, null is returned.
- See:
sys::DynamicLibrary::SearchForAddressOfSymbol()
- Args:
- Returns:
None: (undocumented)
C signature
void * LLVMSearchForAddressOfSymbol(const char * symbolName)
- rocm.bindings.llvm.c.support.LLVMAddSymbol(symbolName, symbolValue)#
This functions permanently adds the symbol
symbolNamewith the valuesymbolValue.These symbols are searched before any libraries.- See:
sys::DynamicLibrary::AddSymbol()
- Args:
C signature
void LLVMAddSymbol(const char * symbolName, void * symbolValue)