Displaying 2 results from an estimated 2 matches for "plus_two".
2011 Nov 27
0
[LLVMdev] LLVM 3.0 oddity
Erik de Castro Lopo <mle+cl at mega-nerd.com> writes:
[snip]
> 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)
[snip]
> c) Am I doing something else wrong.
I guess that the problem is with the missing `align 8' on the `define'.
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