Displaying 2 results from an estimated 2 matches for "waxiado".
Did you mean:
waxiadao
2014 Aug 04
2
[LLVMdev] LLVM Basic Program Compilation
Hi Waxiado, Chris and Tim,
when i compiled with :
> $ clang++ -g try.cpp `llvm-config --cppflags --ldflags --libs core jit
> native`-o3 -S -emit-llvm
I get the following warnings
> clang: warning: -lz: 'linker' input unused
> clang: warning: -lpthread: 'linker' input unused
&...
2014 Aug 01
3
[LLVMdev] LLVM Basic Program Compilation
I am just getting started with llvm.
Here's code I am trying to compile:
#include <stdio.h>#include "llvm/IR/LLVMContext.h"#include
"llvm/IR/Module.h"#include "llvm/IR/IRBuilder.h"
int main(){
llvm::LLVMContext& context = llvm::getGlobalContext();
llvm::Module* module = new llvm::Module("top", context);
llvm::IRBuilder<>