Skip to content

JavanZhu/getting-started-with-the-newer-llvm-c-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Getting started with the (recent) LLVM C API

See the accompanying blog post. Props to Paul Smith for the original blog post and repo!

Tested with LLVM 7.0.0 on macOS 10.13.6 (High Sierra).

To use, download and install LLVM. On macOS, using brew, simply

brew install llvm

on other platforms you may need to build from source.

Once LLVM is installed, clone this repo, cd to it, and run:

$ make
$ ./sum 42 99
141

About

Tweaking https://github.com/paulsmith/getting-started-llvm-c-api to work with the newer MCJIT LLVM interface

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C 84.9%
  • Makefile 15.1%