This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Object Code trace to C++ code of C6748

Hi,

I'm working on Object Code Analysis which needs to analysis the traceability of assembly code to C++ code. The attachment is the samples I'm looking at. The traceabilities are okay expect for constructor and destructor. I don't understand why the compiler generates two constructor (_ZN6cCountC2Ev and _ZN6cCountC1Ev) for cCount::cCount() {Count = 10;}, and two constructor (  _ZN6cCountC2Ei and _ZN6cCountC1Ei) for cCount::cCount(int c) {Count = c;}, and two destructor (_ZN6cCountD2Ev and _ZN6cCountD1Ev) for cCount::  ~cCount() {}. I also don't understand why in the function FunClassWithoutPointer the destructor is not invoke, in my opinion it should.

The compiler version is 7.6.

thanks,

Jane.

ClassWithoutPointer.zip