Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mwguy/llvm-hello

Hello world on LLVM C API example
https://github.com/mwguy/llvm-hello

example hello-world llvm

Last synced: 2 days ago
JSON representation

Hello world on LLVM C API example

Awesome Lists containing this project

README

        

# LLVM Hello

Hello world on LLVM C API example

## Building

Install llvm and compile using cmake

```bash
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``