Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/mwguy/llvm-hello
- Owner: MWGuy
- License: mit
- Created: 2019-07-06T18:03:20.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-08-02T01:04:43.000Z (over 1 year ago)
- Last Synced: 2023-08-02T02:36:14.964Z (over 1 year ago)
- Topics: example, hello-world, llvm
- Language: C++
- Homepage:
- Size: 2.93 KB
- Stars: 12
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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``