Displaying 1 result from an estimated 1 matches for "01world".
2009 Jun 30
3
[LLVMdev] Problems with "module asm"
...ow is the generated .ll file.
i00202 at ubuntu:/tmp$ cat test.ll
; ModuleID = 'test.c'
target datalayout =
"e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32"
target triple = "i386-pc-linux-gnu"
@"\01world" = common global i32 0, align 4 ; <i32*> [#uses=0]
define i32 @main() nounwind {
entry:
%retval = alloca i32 ; <i32*> [#uses=1]
%0 = load i32* %retval ; <i32> [#uses=1]
ret i32 %0
}
module asm ("hello") is misssing.