[LLVMdev] Drop the machine code while executing
Tom Stellard
tom at stellard.net
Fri Apr 25 16:05:00 PDT 2014
On Fri, Apr 25, 2014 at 11:44:24PM +0100, Sri wrote:
> Hi
> Currently , I have doing some experimental work by using llvm,
> Is it possible to drop the machine code once it has been generated for
> particular function while program executing. For example some *void
> test(int)* function has been executed on native machine , I want to drop
> the code before I start execute some other function in my long running
> program.
>
You can disassemble the code once it has been compiled. Mesa's llvmpipe
driver does this:
http://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp#n192
-Tom
> Thanks.
>
> With regards
> Sri.
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
More information about the llvm-dev
mailing list