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

Issues wrapping libLLVM #168

Closed
3 tasks
maleadt opened this issue Aug 19, 2016 · 1 comment
Closed
3 tasks

Issues wrapping libLLVM #168

maleadt opened this issue Aug 19, 2016 · 1 comment

Comments

@maleadt
Copy link
Member

maleadt commented Aug 19, 2016

I tried to wrap the LLVM 3.8 C API as per the example (updated version here), but I'm running into different issues:

  • #define LLVM_NATIVE_ARCH X86 --> const LLVM_NATIVE_ARCH = X86 --> UndefVarError: X86 not defined
  • Some functions (eg. LLVMGetTargetMachineFeatureString) are wrapped multiple times, even though only defined in a single header file (TargetMachine.h) and there's only a single WRAPPING HEADER: TargetMachine.h in the output
  • off_t type is undefined (used in llvm-c/lto.h)
@Gnimuc
Copy link
Member

Gnimuc commented Apr 30, 2021

Should be fixed by JuliaLLVM/LLVM.jl#226.

@Gnimuc Gnimuc closed this as completed Apr 30, 2021
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

2 participants