Re: Interpreting object files symbols
Re: Interpreting object files symbols
- Subject: Re: Interpreting object files symbols
- From: Marcus Mendenhall <email@hidden>
- Date: Tue, 30 Aug 2005 10:19:04 -0500
Message: 16
Date: Tue, 30 Aug 2005 10:13:26 -0400
From: "Yves Poissant" <email@hidden>
Subject: Interpreting object files symbols
To: <email@hidden>
Message-ID: <010201c5ad6c$ff3c6af0$1300a8c0@yvesp4p800>
Content-Type: text/plain; format=flowed; charset="iso-8859-1";
reply-type=original
In a dylib, I have a function declared as:
BOOL UnlockTempMaps(BOOL DeleteTemps = TRUE);
in the header file. The application that uses the function calls it
with
UnlockTempMaps();
The linker complains that the symbol
__Z17UnlockTempMapsv
is undefined.
There are several other symbols in this dylib which the linker
doesn't have
problem with.
So I'm trying to figure what is that function declaration that the
linker is
looking for from the symbol "__Z17UnlockTempMapsv".
In particular, what does the appended "v" means?
And is there any clue to get from the prepended "Z17"?
Also is there any document that describe the compiler and linker
way of
building object file symbols?
Yves
Here is a freestanding command line tool which unmangles c++ names.
Just compile it, and run it with the name to unmangle as the
argument, and it will return the full class / method name and arguments.
Marcus Mendenhall
Attachment:
unmangle.cc
Description: Binary data
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden