Mercurial > projects > ldc
view tango/lib/common/tango/stdc/wrap.ll @ 133:44a95ac7368a trunk
[svn r137] Many fixes towards tango.io.Console working, but not quite there yet...
In particular, assertions has been fixed to include file/line info, and much more!
author | lindquist |
---|---|
date | Mon, 14 Jan 2008 05:11:54 +0100 |
parents | 1700239cab2e |
children |
line wrap: on
line source
; ModuleID = 'wrap.bc' @errno = external thread_local global i32 ; <i32*> [#uses=2] define i32 @getErrno() { entry: %tmp = load i32* @errno ; <i32> [#uses=1] ret i32 %tmp } define i32 @setErrno(i32 %val) { entry: store i32 %val, i32* @errno ret i32 %val }