[LLVMdev] linux/x86-64 codegen support

Andrew Lenharth andrewl at lenharth.org
Sat Feb 16 15:31:21 PST 2008


On 2/16/08, Chris Lattner <sabre at nondot.org> wrote:
>
> This is very strange.  I built a cross compiler to x86_64-unknown-
> linux-gnu and it seems to work for me:
>
> ./cc1 /Users/sabre/pr1711.c -emit-llvm -quiet -O2 -o -
>
> target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-
> i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-
> f80:128:128"
> target triple = "x86_64-unknown-linux-gnu"
>         %struct.cpp_reader = type opaque
>
> define i32 @_cpp_interpret_identifier(%struct.cpp_reader* %pfile, i8*
> %id, i64 %len) nounwind  {
> entry:
>         ret i32 undef
> }

This is what I get with the non-bootstrap version.

Andrew



More information about the llvm-dev mailing list