Skip to content

GaZAR-UG/llvm-codegen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

llvm-codegen

This is a minimal LLVM codegen example that allows one to experiment with the LLVM infrastructure for generating LLVM IR.

How to Build the Project?

Build the project using $ make.

Delete the auto-generated files using $ make clean.

Running the Program and Generating Code

Use ./codegen out.bc to run the small codegen program and to produce some LLVM intermediate representation that is written to the out.bc bitcode file.

One can compile the generated bitcode file to an executable binary using $ clang++ -Wall -Wextra out.bc -o out.

The return code of the program can be checked (after running it) using $ echo $?.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages