search for: _zn6stringc2ev

Displaying 2 results from an estimated 2 matches for "_zn6stringc2ev".

Did you mean: _zn6stringc1ev
2010 Jun 06
2
[LLVMdev] Two quick questions on call graph nodes
...nto two confusions: First, there is a "indirect call node" dominating all other nodes (include "main"). My question is: what does this special node serves for? Second, there are two identical functions except that the functions have slightly different names. define void @_ZN6StringC2Ev(%struct.String* %this) nounwind ssp {} define void @_ZN6StringC1Ev(%struct.String* %this) nounwind ssp {} So, why is it so? Thanks! best, Xiaolong PS: My running example is a simple code as below: #include "string.h" int main() { String y, z; String x("Hello...
2010 Jun 07
0
[LLVMdev] Two quick questions on call graph nodes
....7 uses a "indirect call node". However it does use a "external node", which is used when a function external to the current module is called. > Second, there are two identical functions except that the functions > have slightly different names. > > define void @_ZN6StringC2Ev(%struct.String* %this) nounwind ssp {} > define void @_ZN6StringC1Ev(%struct.String* %this) nounwind ssp {} > > So, why is it so? These are generated by the C++ front-end, and represent the base object constructor and the complete object constructor respectively. Ciao, Duncan.