Sha256: 60cb273363ba2b9a0ed89a436e05b408ebf40d50326c62b2927f8a5dd23f2bd3

Contents?: true

Size: 280 Bytes

Versions: 10

Compression:

Stored size: 280 Bytes

Contents


; const char str[14] = "Hello World!\00"
@.str = private unnamed_addr constant  [14 x i8] c"Hello, world!\00"

; declare extern `puts` method
declare i32 @puts(i8*) nounwind

define i32 @main()
{
  call i32 @puts( i8* getelementptr ([14 x i8]* @str, i32 0,i32 0))
  ret i32 0
}

Version data entries

10 entries across 7 versions & 1 rubygems

Version Path
zettacode-0.1.7 files.zettacode/hello_world.text/llvm.txt
zettacode-0.1.6 files.zettacode/hello_world.text/llvm.txt
zettacode-0.1.6 files.zettacode2/hello_world.text/llvm.txt
zettacode-0.1.5 files.zettacode/hello_world.text/llvm.txt
zettacode-0.1.5 files.zettacode2/hello_world.text/llvm.txt
zettacode-0.1.4 files.zettacode/hello_world.text/llvm.txt
zettacode-0.1.4 files.zettacode2/hello_world.text/llvm.txt
zettacode-0.1.3 files.zettacode/hello_world.text/llvm.txt
zettacode-0.1.2 files.zettacode/hello_world.text/llvm.txt
zettacode-0.1.1 zettacode.files/hello_world.text/llvm.txt