similar to: Ffi The doctor¡¯s in

Displaying 13 results from an estimated 13 matches similar to: "Ffi The doctor¡¯s in"

2017 Apr 24
1
[FFI] [OrcJIT] Status update on C FFI for OrcJIT?
I looked around for the status of OrcJIT FFI support. The last e-mail thread I could find was this one: Link <http://lists.llvm.org/pipermail/llvm-dev/2015-February/081679.html> Raw: http://lists.llvm.org/pipermail/llvm-dev/2015-February/081679.html Is OrcJIT now considered stable enough that there can be "official" exposed C APIs? If not, what's the standard approach if I
2008 Feb 02
1
Ruby++ FFI (theoretical)
Hi all, How does this look as a potential FFI for our theoretical Ruby++ ? I''m not sure how to do mixins, though. Some sort of special directive? Or just add it to inheritance chain? Anyway, this is just a rough prototype. No attempt at an actual implementation yet. Regards, Dan // foo.h - Function prototypes #define _FOO_H_ using namespace ruby; // Subclass Object class Foo :
2009 Oct 28
0
[LLVMdev] JIT, FFI
You're right, that probably won't have very good performance. What we (unladen-swallow) do is to call getPointerToFunction which gives a function pointer of type (void*)(void*) which we then cast to the appropriate function type and then call from C/C++. That way the C/C++ compiler for your application can codegen the function call once instead having the JIT do it many times. Reid On
2010 Dec 14
2
[LLVMdev] OS X ffi in config.h
While browsing the configure generated llvm/Config/config.h, I'm noticed that the macros: HAVE_FFI_CALL HAVE_FFI_FFI_H HAVE_FFI_H are not defined on OS X (currently 10.6.5). Given that ffi exists on this platform (both headers and lib), is this result intended? Thanks Garrison
2010 Dec 14
0
[LLVMdev] OS X ffi in config.h
Ah, --enable-libffi. Any pointers as why this is not a default check for at least UNIX systems? Does Windows have the equivalent? Thanks in advance Garrison On Dec 14, 2010, at 6:34, Garrison Venn wrote: > While browsing the configure generated llvm/Config/config.h, I'm noticed that > the macros: > > HAVE_FFI_CALL > HAVE_FFI_FFI_H > HAVE_FFI_H > > are not
2018 Feb 25
0
segfault calling SDL_Init with FFI/ MCJIT
I'm getting a segfault when I call `SDL_Init( SDL_INIT_VIDEO )` within the MCJIT.  If I compile the same program to an EXE I don't have a problem. Are there any general restrictions, or known issues, with loading a library like SDL2 via the MCJIT?  (LLVM-3.8 still) The stack trace, from GDB, is below. I noticed the error actually happens deep inside a transitively loaded GL drive module,
2009 Oct 28
2
[LLVMdev] JIT, FFI
Hello, I'm new to LLVM and I had a question about it: when we call the JIT::runFunction, since llvm doesn't has a full FFI, there are some cases in which the JIT needs to codegen a stub function to call the function we are interested, my question is: this stub function will remains in the module until when ? What are the most efficient way to remove it from the module and memory ? For a
2012 Apr 07
5
FFI and msvcrt
Hi, I''ve been using FFI with a Ruby 1.9.3 built with MSVC++ and it''s been working well. One thing I''ve run into though is this: ffi_lib :msvcrt But that''s not the runtime I want. But I don''t want to hard code the runtime name either. I realize I could parse it out of RbConfig, but I was hoping for something nicer. Is there a way we could create an
2012 May 18
7
Dir.create_junction with FFI
Hi, Try as I might, I just cannot get Dir.create_junction to work with FFI in the ffi branch of the win32-dir project. The problem is the REPARSE_JDATA_BUFFER struct. I''m just not sure how to set those members, specifically, the PathBuffer member. The target looks good, it''s UTF-16LE encoded, but I can''t make it work, despite trying several ways of defining the struct,
2010 Jun 24
1
Installed Doctor Who Game =P, but get bug error
I went though a good amount of trouble to install the game, because you need to be in the UK to install it, but I'm in the USA. So I get it installed through a proxy and everything is good until I click it to start. It tells me it can't run it because of some bug. I don't know if you can help me or not. Thanks.
2006 Sep 06
2
creating zvols in a non-global zone (or ''Doctor, it hurts when I do this'')
A colleague just asked if zfs delegation worked with zvols too. Thought I''d give it a go and got myself in a mess (tank/linkfixer is the delegated dataset): root at non-global / # zfs create -V 500M tank/linkfixer/foo cannot create device links for ''tank/linkfixer/foo'': permission denied cannot create ''tank/linkfixer/foo'': permission denied Ok, so
2003 May 09
3
What the???? Is there a Doctor in the house? Help
Ok do not know what is causing this problem and would appreciate some help in tracking down the cause. FreeBSD 4.7 System runs fine for maybe a week and then all networking stops - without warning. I do not know anyway of persuading it to resume networking without rebooting. Does anyone have some useful suggestions on how to diagnose the cause? David
2011 Nov 04
2
Problem running BBC Doctor Who game in Linux Mint Debian
Hi, I have a Toshiba Satellite L500 Laptop running 64bit Linux Mint Debian Edition 201109. The laptop has ATI Radeon M92 (HD 4500 / 5000) graphics. This is based on Debian testing and because at present there is no WINE in the testing repositories, I have installed 1.3.30 from: http://frickelplatz.de/debian/ This seems to work fine: I can run LTspiceIV perfectly. However ... I have tried