search for: mofakhar

Displaying 3 results from an estimated 3 matches for "mofakhar".

2011 Mar 05
2
[LLVMdev] how to use external function?
Hi there, It will be appreciated if you help me : I need to call an external function in LLVM bitcode but don't know how : ;ModuleID = 'm1' define i32 @main() { entry: %tmp0 = call i32 @MyOwnFunction() ret i32 0 } declare i32 @MyOwnFunction() I use below codes to run it $ llvm-as -f m1 -o m1.bc $ lli 1.bc (before it I have compiled MyOwnFunction module) when I run this
2011 Mar 05
0
[LLVMdev] how to use external function?
On Sat, Mar 5, 2011 at 12:41 PM, Amir Mofakhar <pangan at gmail.com> wrote: > Hi there, > > It will be appreciated if you help me : > > I need to call an external function in LLVM bitcode but don't know how : > > ;ModuleID = 'm1' > define i32 @main() { > entry: > %tmp0 = call i32 @MyOwnFunction()...
2011 Mar 09
1
[LLVMdev] how to use external function?
Eli Friedman <eli.friedman <at> gmail.com> writes: > > Try something like the following? > > llvm-link MyOwnFunction.bc m1.bc -o - | lli > > -Eli > same error again!