Displaying 1 result from an estimated 1 matches for "f8686688__enc_n".
2016 Jul 03
2
clib `open` writes a linefeed to stdout when used in the JIT
...ile my program to an exe file it doesn't happen. I
also have a lot of other code running in the VM without this problem,
it's somehow particular to `open`.
A chunk of my IR that calls `open`:
defer_body_26: ; preds = %defer_end_11
%59 = load i8*, i8** %f8686688__enc_n
%60 = getelementptr inbounds i8, i8* %59, i64 16
%61 = call i32 @open(i8* %60, i32 577, i32 511)
store i32 %61, i32* %f8686688__f
br label %defer_block_25
Where elsewhere I have `declare i32 @open(i8*, i32, i32)`.
Any ideas on what could possible be causing this?
I'm using LLVM3.8 w...