MWGuy / llvm-hello

Hello world on LLVM C API example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LLVM Hello

Hello world on LLVM C API example

Building

Install llvm and compile using cmake

mkdir build && cd build
cmake ..
cmake --build .

Running

After building run llvm_hello executable from build directory.

This executable generate hello.ll using LLVM C API

To run hello.ll file use this command lli hello.ll

About

Hello world on LLVM C API example

License:MIT License


Languages

Language:C++ 92.9%Language:CMake 7.1%