search for: _zn6stringc1ev

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

2010 Jun 06
2
[LLVMdev] Two quick questions on call graph nodes
...; 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 World!"); y = x; // strongly update y z = y; // use y...
2010 Jun 07
0
[LLVMdev] Two quick questions on call graph nodes
...rnal 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.