by@n4o847
WA
509ms
@.str = private unnamed_addr constant [15 x i8] c"Hello world!!\0A\00", align 1 define i32 @main(i32 %argc, i8** %argv) #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i8**, align 8 store i32 0, i32* %1 store i32 %argc, i32* %2, align 4 store i8** %argv, i8*** %3, align 8 %4 = call i32 (i8*, ...)* @printf(i8* getelementptr inbounds ([15 x i8]* @.str, i32 0, i32 0)) ret i32 2 } declare i32 @printf(i8*, ...) #1
03 25 21 07 12 57 59 08 17 15 82 04
/usr/bin/llc: /tmp/code.ll:9:76: error: expected comma after getelementptr's type %4 = call i32 (i8*, ...)* @printf(i8* getelementptr inbounds ([15 x i8]* @.str, i32 0, i32 0)) ^ gcc: error: /tmp/code.o: No such file or directory gcc: fatal error: no input files compilation terminated. /bin/script: line 17: /tmp/code: not found