Advertisement
Guest User

Untitled

a guest
Feb 3rd, 2021
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. #include <llvm-c/Core.h>
  2. #include <llvm-c/ExecutionEngine.h>
  3. #include <llvm-c/Target.h>
  4. #include <llvm-c/Analysis.h>
  5. #include <llvm-c/BitWriter.h>
  6.  
  7. int main() {
  8. LLVMModuleRef mod = LLVMModuleCreateWithName("test");
  9. }
  10.  
  11. ====
  12.  
  13. self.LLVMModuleCreateWithName = rffi.llexternal("LLVMModuleCreateWithName", lltype.PTR(lltype.Char), some return type)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement