public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* in-charge/not-in-charge
@ 2003-12-09 14:04 Joerg Beyer
  2003-12-09 16:29 ` in-charge/not-in-charge Ian Lance Taylor
  0 siblings, 1 reply; 2+ messages in thread
From: Joerg Beyer @ 2003-12-09 14:04 UTC (permalink / raw)
  To: gcc

Dear Listreader,

I am looking for the place where I can read about the in-charge/not-in-charge
attributes of gcc-compiled object files and binaries. Pleas excuse if this is
off-topic here and point me to whereever it may fit better.

I have a simple program:
----------------------------
class foo {
public:
    foo();
    ~foo() {}
};

foo::foo() {
}

int main(int argc, char *argv[]) {
    foo f;
}
----------------------------

after compilation, nm tells me this:
----------------------------
joerg@host> nm -C ./prg | grep foo
080483e2 T foo::foo[in-charge]()
080483dc T foo::foo[not-in-charge]()
0804841e W foo::~foo [in-charge]()
----------------------------

what does that "in-charge" / "not-in-charge" mean? Is
"in-charge" for inlined?

    thanks
    Joerg

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: in-charge/not-in-charge
  2003-12-09 14:04 in-charge/not-in-charge Joerg Beyer
@ 2003-12-09 16:29 ` Ian Lance Taylor
  0 siblings, 0 replies; 2+ messages in thread
From: Ian Lance Taylor @ 2003-12-09 16:29 UTC (permalink / raw)
  To: Joerg Beyer; +Cc: gcc

"Joerg Beyer" <j.beyer@web.de> writes:

> I am looking for the place where I can read about the in-charge/not-in-charge
> attributes of gcc-compiled object files and binaries.

There is some discussion here:
    http://www.codesourcery.com/cxx-abi/abi.html#vtable
And see also:
    http://www.codesourcery.com/cxx-abi/abi.html#obj-ctor
I'm not sure just how comprehensible this is, though.

Ian

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-12-09 15:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-09 14:04 in-charge/not-in-charge Joerg Beyer
2003-12-09 16:29 ` in-charge/not-in-charge Ian Lance Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).