[LLVMdev] How to deal with potentially unlimited count/length symbol names?
edA-qa mort-ora-y
eda-qa at disemia.com
Wed Jun 19 10:35:52 PDT 2013
On 19/06/13 19:23, Eli Friedman wrote:
> I think you've covered all the possible implementations.
>
> In terms of just generating long names, LLVM and common platforms can
> handle long names reasonably well because C++ often uses such names.
> Also, the Itanium C++ ABI has a scheme to compress repeated uses of the
> same type which might be of interest; see
> http://mentorembedded.github.io/cxx-abi/abi.html#mangling-compression .
>
> In terms of a registry, you might want to consider whether these helpers
> actually need to be exposed across libraries.
Annoyingly, the larger the type the more important it is to share -- for
small types everything will just be inlined so it doesn't matter.
Any idea on what the limit of a name can be? I'll try a compression like
system as well, but I will likely have to truncate at some point (where
I can add a hash).
--
edA-qa mort-ora-y
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Sign: Please digitally sign your emails.
Encrypt: I'm also happy to receive encrypted mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130619/b7222e56/attachment.sig>
More information about the llvm-dev
mailing list