Displaying 2 results from an estimated 2 matches for "5b3ad319".
2011 Nov 28
0
[LLVMdev] LLVM 3.0 oddity
...function in the same module?
>
I don't know the reason, but I do remember that LLVM does not allow you to
declare a function and define it.
Reid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20111127/5b3ad319/attachment.html>
2011 Nov 27
4
[LLVMdev] LLVM 3.0 oddity
Hi all,
In the LLVM backend for the DDC compiler, since version 2.7 I have
been doing the following:
declare external ccc i32 @some_fn(%struct.Obj* ) align 8
; bunch more declarations and code.
define external ccc i32 @some_fn(%struct.Obj* %_p_vn)
{
entry:
but now I'm getting an error at the function definition saying:
error: invalid redefinition of function