search for: string___xub

Displaying 1 result from an estimated 1 matches for "string___xub".

2008 Mar 23
0
[LLVMdev] Announcement: GNAT ported to LLVM
...oks like, here is an example showing what a simple Ada program gets turned into. Here is the Ada: with Ada.Text_IO; procedure Hello is begin Ada.Text_IO.Put_Line ("Hello world!"); end; Here's the result of compiling it: $ gcc -S -O2 -emit-llvm -o - hello.adb ... %struct.string___XUB = type { i32, i32 } ... @.str = internal constant [12 x i8] c"Hello world!" ; <[12 x i8]*> [#uses=1] @C.168.1155 = internal constant %struct.string___XUB { i32 1, i32 12 } ; <%struct.string___XUB*> [#uses=1] define void @_ada_hello() { entry: tail...