search for: parsefunct

Displaying 6 results from an estimated 6 matches for "parsefunct".

Did you mean: parse_func
2014 Mar 31
2
[LLVMdev] Which function executing VMKit's llvm-IR
Hi All I am trying to trace the execution path of J3 jvm with input of java byte code . Once java byte codes compiled in to llvm IR it will be passed to VMKit for store them . I couldn't find out which function is getting this Jitted output from *Functioncache* and executing them ? because , VMKit doesn't have an implementation of llvm Executionengine's *runFunction*
2014 Apr 17
2
[LLVMdev] Importance of VMKit JIT function cache
Hi Gael I am sorry that I couldn't explain what I was trying to say, anyway I've got the answer :) . In the *parseFunction* method returns *llvmfunction* pointer of compiled method and then it will be stored in to cache. Could you please more elaborate on how those machine instructions ( native functions) executing by llvm. I was trying trace and I couldn't able to find out which component is taking those na...
2010 Jul 09
1
[LLVMdev] vmkit segmentation fault revision 107990
...signal SIGSEGV, Segmentation fault. [Switching to Thread 0x200ffb70 (LWP 12112)] 0x08947678 in llvm::FunctionPassManager::run(llvm::Function&) () (gdb) where #0 0x08947678 in llvm::FunctionPassManager::run(llvm::Function&) () #1 0x08c73730 in ?? () #2 0x081b9e0c in j3::JavaLLVMCompiler::parseFunction(j3::JavaMethod*) () #3 0x081a3d68 in j3::JavaAOTCompiler::compileClass(j3::Class*) () #4 0x081af82c in mainCompilerStart(j3::JavaThread*) () #5 0x082281ae in mvm::Thread::internalThreadStart(mvm::Thread*) () #6 0x0013396e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #7 0x00368...
2013 May 23
2
[PATCH 1/2] gcov: Add script to split coverage informations.
...bit integer + # This is ok for little endian machines + return getRaw(8); +} + +sub align() +{ + my $l = $pos & 7; + getRaw(8-$l) if $l; +} + +# read a string prefixed by length +sub getS() +{ + my $l = get32(); + my $res = getRaw($l); + align(); + return $res; +} + +sub parseFunctions($) +{ + my $numCounters = shift; + my $num = get32(); + + my @funcs; + for my $n (1..$num) { + my @data; + my $ident = get32(); + my $checksum = get32(); + for my $n (1..$numCounters) { + push @data, get32(); # number of counters for a type +...
2013 Sep 26
1
[LLVMdev] debug utilities in VMKit
Hi, I am wondering how I can get the JIT'd llvm IR during VMKit execution. I am stuck in precompiling phase (when loading library classes), and I am facing various problems. If I can log the JIT'd llvm IR (from Java bytecode), that would be convenient. I turned on --enable-debug, but it doesn't seem very helpful at this stage. Any other suggestion is welcome. Thanks very much.
2014 Apr 16
3
[LLVMdev] Importance of VMKit JIT function cache
Hi VMKit JIT has a function cache to store compiled IR code , so, as soon as method is compiled , it will be stored in to function cache. My question is , who will use this compiled information from function cache. Since we are jitting , the llvm translate source code in to native code and executing them . So, how we relates this function cache with JIT ? Thanks Regards Sri.