Displaying 1 result from an estimated 1 matches for "_zn1ac2ev".
Did you mean:
_zn1ac1ev
2016 May 26
0
c++ programs type name changed in llvm ir after linking
...uot;class.A" has been replaced by "class.X"
in function main, the constructor of class A and the virtual member
function f of class A:
; Function Attrs: norecurse uwtable
define i32 @main() #3 {
%1 = call noalias i8* @_Znwm(i64 8) #6
%2 = bitcast i8* %1 to %class.X*
call void @_ZN1AC2Ev(%class.X* %2) #2
%3 = bitcast %class.X* %2 to void (%class.X*)***
%4 = load void (%class.X*)**, void (%class.X*)*** %3, align 8
%5 = getelementptr inbounds void (%class.X*)*, void (%class.X*)** %4, i64
0
%6 = load void (%class.X*)*, void (%class.X*)** %5, align 8
call void %6(%class.X* %2...