[Info-vax] Name shortening in C

Joukj joukj at hrem.nano.tudelft.nl
Fri Oct 1 02:24:26 EDT 2021


Craig A. Berry wrote:
> On 9/30/21 8:57 AM, Joukj wrote:
>> Hi all,
>>
>> when I use the option /name=short when compiling C-code long names are 
>> mangled in a 32-character string. All is documented in the 
>> CXX$DEMANGLER_DB. files.
>> I would like to create a routine that I can feed with a string and 
>> which gives the shortened string as output, without needing to 
>> (inefficiently) read all the  CXX$DEMANGLER_DB. files.
>>
>> The question is : is the algorithm which is used documented/available?
> 
> I've got implementations in C and Perl here:
> 
> https://sourceforge.net/p/vms-ports/vmsshortsym/ci/default/tree/
Thanks,

I'll check it out

      Jouk



More information about the Info-vax mailing list