Displaying 2 results from an estimated 2 matches for "e6c4f962".
Did you mean:
a6c4962
2014 Aug 04
2
[LLVMdev] LLVM Basic Program Compilation
...LLVM ERROR: Program used external function '_ZN4llvm16getGlobalContextEv'
> which could not be resolved!
Can you kindly help me resolve it?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140804/e6c4f962/attachment.html>
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<>