Displaying 1 result from an estimated 1 matches for "text_io".
Did you mean:
next_io
2008 Mar 23
0
[LLVMdev] Announcement: GNAT ported to LLVM
...ppened to your program. This might be useful for static analysis,
it is certainly useful for understanding how the various Ada constructs
are implemented. To give you a taste for what it looks 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!" ; <...