Displaying 2 results from an estimated 2 matches for "system_cal".
Did you mean:
system_call
2010 Feb 12
0
[LLVMdev] Portable I/O
Thanks everyone, a set of wrapper routines it will be then.
Dustin, are the routines you wrote open source or do you know if there is
already a project that provides such a portable interface to libc for LLVM?
If not, I'll write my own routines, but if there is a way to adopt a common
standard or avoid reinventing the wheel I'm all for it.
Mike
2010 Feb 12
2
[LLVMdev] Portable I/O
On 02/12/2010 09:51 AM, Chris Lattner wrote:
> I think that the point is that you can define your own standard runtime interfaces:
>
> void *myopen(const char*path) {
> return fopen(path, ...);
> }
Maybe my experience hand-coding LLVM will actually be of some help.
What I did for this case is what I think Chris is suggesting--I have a
.c file with functions that return