Displaying 20 results from an estimated 3000 matches similar to: "[LLVMdev] JIT crash takes down host-application"
2010 Jul 19
2
[LLVMdev] JIT crash takes down host-application
Ok, thank you for your explanation. Is it possible for forked processes to
share data? Especially for the child process to send some data to the
parent?
-Frank
2010/7/18 Nick Lewycky <nicholas at mxc.ca>
> Frank Fuchs wrote:
>
>> Hi,
>>
>> I'm doing some tests concerning the embedding of LLVM and clan in my
>> application.
>> Now I stumbled across
2010 Jul 18
0
[LLVMdev] JIT crash takes down host-application
Frank Fuchs wrote:
> Hi,
>
> I'm doing some tests concerning the embedding of LLVM and clan in my application.
> Now I stumbled across the following ... which disturbs me. If the jitted program crashes,
> like e.g. if it contains an assert(0==1) or calls an external function which cannot be resolved,
> the hosting app goes down as well. There seems no error catch.
>
>
2010 Jul 19
1
[LLVMdev] JIT crash takes down host-application
Is there a way to intercept the calls to abort() or exit(), specifically ?
Disabling all external symbol resolution seems not really feasable since I
need some std libs.
-Frank
2010/7/19 Garrison Venn <gvenn.cfe.dev at gmail.com>
> You could use shared memory or the equivalent of UNIX domain sockets. On a
> UNIX system, you will also probably want to catch
> SIGCHLD along with
2010 Jul 19
0
[LLVMdev] JIT crash takes down host-application
You could use shared memory or the equivalent of UNIX domain sockets. On a UNIX system, you will also probably want to catch
SIGCHLD along with implementing "nowait" handling behavior in the parent. This is of course a low level approach. Higher level
libraries that you may be using, or other OSs may provide their own wrappers.
Garrison
On Jul 19, 2010, at 4:05, Frank Fuchs wrote:
2010 Apr 17
2
[LLVMdev] Parsing (and compiling) on demand.
Hi!
I'm trying to develop JIT compiler using LLVM as its backend. I know
LLVM itself supports JIT-compiling, but I need to generate IR first.
I don't want to generate IR before function is actually needed. How
can I achieve this?
If it matters, I have prototypes for all functions I'm going to use.
Best regards,
Milovanov Victor.
2010 Apr 17
0
[LLVMdev] Parsing (and compiling) on demand.
lost wrote:
> Hi!
>
> I'm trying to develop JIT compiler using LLVM as its backend. I know
> LLVM itself supports JIT-compiling, but I need to generate IR first.
> I don't want to generate IR before function is actually needed. How
> can I achieve this?
> If it matters, I have prototypes for all functions I'm going to use.
See
2010 Apr 17
2
[LLVMdev] Parsing (and compiling) on demand.
Ok than, but how to insert a call to an undefined function?
> See ExecutionEngine::InstallLazyFunctionCreator().
> http://llvm.org/doxygen/classllvm_1_1ExecutionEngine.html#6a126d6cd1fa07a4331179597de0c46a
>
> Nick
>
2012 Nov 25
2
[LLVMdev] MCJIT and Lazy Function Creators
Out of curiosity, I'm replacing the JIT with MCJIT on my compiler. As
all "external" functions are provided by the language's FFI mechanism,
it does
MyExecutionEngine->DisableSymbolSearching();
MyExecutionEngine->InstallLazyFunctionCreator(&MyLazyFunctionCreator);
which works fine with the JIT. However, MCJIT insists on resolving
unknown symbols by searching them
2012 Nov 27
0
[LLVMdev] MCJIT and Lazy Function Creators
Óscar Fuentes <ofv at wanadoo.es> writes:
> Out of curiosity, I'm replacing the JIT with MCJIT on my compiler. As
> all "external" functions are provided by the language's FFI mechanism,
> it does
>
> MyExecutionEngine->DisableSymbolSearching();
> MyExecutionEngine->InstallLazyFunctionCreator(&MyLazyFunctionCreator);
>
> which works fine
2009 Jul 31
8
Would like include model association in to_xml
i have:
class Library << ActiveRecord::Base
has_many :books
end
class Book << ActiveRecord::Base
belongs_to :library
end
in my controller i have:
render :xml=> Library.find(:all).to_xml(:include=>books)
but, i would like put a condition in the books ( e.: pages >= 100 )
i would like to create a xml with all Libraries, but books with pages more
than 100)
How to
2010 Apr 17
2
[LLVMdev] Parsing (and compiling) on demand.
On Sat, Apr 17, 2010 at 2:15 PM, Nick Lewycky <nicholas at mxc.ca> wrote:
> lost wrote:
>> Ok than, but how to insert a call to an undefined function?
>
> You need to have the function declaration and insert a call to that.
> Once your LazyFunctionCreator is called, you fill in the body and call
> JIT->getPointerToFunction() on it and return that result.
>
> I
2008 Jan 02
2
[LLVMdev] runtime optimizations in LLVM
Hello,
(im new to LLVM , so pl excuse if this is a naive q).
Can someone provide info on what runtime
optimizations are done in LLVM? do you have something
along lines of JVM's hotspot feature?
How efficient is the optimized code vis-a-vis native
code?
thanks
-kamal
____________________________________________________________________________________
Never miss a thing.
2014 May 23
2
[LLVMdev] Selectively Jitting using MCJIT
Hello, I am a novice at using the llvm api to do much of anything.
I am trying to lazily apply certain optimisation passes on select
functions when jitting a large program. It is undesirable to me to
load the entire program as IR code and then generate code in memory
for it (time concerns). It seems that there is a function in MCJIT
"loadObjectFile" that would suit my purposes,
2009 Oct 16
2
[LLVMdev] MallocInst/CallInst bitcast,
Hello,
I'm writing a virtual machine that functions as a sandbox based on llvm. In
order to prevent programs from accessing memory that has not been allocated
to them, I want to replace calls to malloc and free with calls to a logged
functions that will record the memory that is being allocated to the
program. Is it possible to cast/convert a MallocInst or FreeInst to a
CallInst?
Thanks,
2014 May 23
4
[LLVMdev] Selectively Jitting using MCJIT
> As far as I know, ObjectFile is either COFF, ELF or MachO format,
> statically compiled. But the pass manager for applying optimisation
> passes works only on llvm-ir.
I would not need to apply optimisations on the parts of the program in
the object file. These are meant to be optimised beforehand. The only
parts I want to run passes on are specific function that I know
2006 Apr 28
4
The Ajax Experience
Anyone on the list going to The Ajax Experience in San Francisco May 10?
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
2009 Oct 16
3
[LLVMdev] MallocInst/CallInst bitcast,
On Oct 16, 2009, at 4:43 AM, Daniel Waterworth wrote:
> Never mind, I used ExecutionEngine's InstallLazyFunctionCreator and
> DisableSymbolSearching to cause malloc and free calls to be handled
> by my logging functions. Sorry for the unnecessary list mail.
No problem, this is a better way to go. The MallocInst and FreeInst
instructions are about to be removed from LLVM IR.
2013 Mar 27
11
[Bug 62835] New: Screen freezes after resume from s2ram
https://bugs.freedesktop.org/show_bug.cgi?id=62835
Priority: medium
Bug ID: 62835
Assignee: nouveau at lists.freedesktop.org
Summary: Screen freezes after resume from s2ram
QA Contact: xorg-team at lists.x.org
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: pontus.fuchs at gmail.com
2009 Mar 04
10
total per user
so I am trying to sum month over month the amount that a user has
posted. So for example:
User 1: Jan $3000 Feb $4000 March $1500, etc. I can get this to work
if I sum totals (aggregate of all users) but just not by user.
Here is my code in the controller:
def index
@users = User.find :all, :order => ''name ASC''
@deal_groups = Deal.find(:all).group_by {|t|
2013 Jan 05
38
[Bug 59057] New: Black screen after resume from s2ram
https://bugs.freedesktop.org/show_bug.cgi?id=59057
Priority: medium
Bug ID: 59057
Assignee: nouveau at lists.freedesktop.org
Summary: Black screen after resume from s2ram
QA Contact: xorg-team at lists.x.org
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: pontus.fuchs at gmail.com