Displaying 1 result from an estimated 1 matches for "methodindex".
Did you mean:
method_index
2012 Apr 19
1
[LLVMdev] VTable Method Index
Virtual call translates into IR like this:
%0 = bitcast %class.A* %call to i32 (%class.A*, i32)***
%vtable = load i32 (%class.A*, i32)*** %0
%vfn = getelementptr inbounds i32 (%class.A*, i32)** %vtable, i64 0
%1 = load i32 (%class.A*, i32)** %vfn
Is it possible to map pair [StructType, methodIndex(i64 0 in example)] into Function?
Yours sincerely,
Kadysev Mikhail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120420/c99fe5fd/attachment.html>