dmd.backend.compress

Identifier compression for 32 bits OMF builds

On 32 bits OMF builds, we have a limit of 128 characters for identifiers. When this limit is reached, this code is called to attempt to compress the identifier.

Members

Functions

id_compress
char* id_compress(const(char)* id, int idlen, size_t* plen)

Compress an identifier for name mangling purposes. Format is if ASCII, then it's just the char. If high bit set, then it's a length/offset pair

Meta