Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Native target initialisation functions are missing #33

Open
aurorusidk opened this issue Aug 26, 2024 · 0 comments
Open

Native target initialisation functions are missing #33

aurorusidk opened this issue Aug 26, 2024 · 0 comments

Comments

@aurorusidk
Copy link

The set of functions LLVMInitializeNative* and LLVMInitializeAll* do not appear to exist in the bindings.

A typical LLVM-C program might include the following lines to automatically configure for the current host:

LLVMInitializeNativeTarget();
LLVMInitializeNativeAsmParser();
LLVMInitializeNativeAsmPrinter();

Searching the module showed no results for the expected bound names (llvm.initialize_native_target(), etc.), however, the target specific functions are loaded correctly (e.g., llvm.initialize_x86_target() and llvm.initialize_riscv_target()).

I believe this may be because the functions are defined in Target.h as static, and therefore presumably being omitted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant