kulics-works / feel-llvm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

feel-llvm

Use

  1. build llvm ir

  2. build llvm obj

llc -filetype=obj main.ll -o main.o
  1. link to bin
gcc main.o
  1. link more file
llvm-link file1.ll file2.ll -o linked.ir
  1. test
clang++ test.cpp main.o -o main && ./main

About

License:MIT License


Languages

Language:C# 100.0%