Displaying 2 results from an estimated 2 matches for "_6207_0".
Did you mean:
162070
2007 Apr 04
0
[LLVMdev] For a small help
...put = obj.testObject(input); // I want to create this instruction
>
> Thanks,
> Ferad
>
You can use the LLVM demo page ( http://llvm.org/demo/index.cgi ) to
find out what LLVM code is generated for some C++ code. For example,
the above produces:
; ModuleID = '/tmp/webcompile/_6207_0.bc'
target datalayout = "e-p:32:32"
target endian = little
target pointersize = 32
target triple = "i686-pc-linux-gnu"
%struct.TestClass = type { ubyte }
implementation ; Functions:
void %_Z4funcv() {
entry:
%obj = alloca %struct.TestClass, align 1 ; <%struct.TestC...
2007 Apr 04
4
[LLVMdev] For a small help
Hi,
I want to ask for a small help for creating an instruction that calls
e member method of an object. I suppose that this is not a headache
but I am impatient in learning :) I would be very thankful if you can
show me an example snippet code that does this in LLVM. Below is
described my case.
Let's say I have a class TestClass
class TestClass
{
int testMethod(int a);
}
and I want to