What is TypeIdent in the ABI spec ?

Kenji Hara via Digitalmars-d digitalmars-d at puremagic.com
Tue Jul 7 09:41:16 PDT 2015


2015-07-07 16:24 GMT+09:00 Walter Bright via Digitalmars-d <
digitalmars-d at puremagic.com>:

> On 7/6/2015 3:52 PM, deadalnix wrote:
>
>> Unresolved types in the ABI ? Is that even possible ?
>>
>
> I don't remember the cases, but yes.
>

In old days, Type::merge() had generated mangled name even for
TypeIdentifier.
It might be related to the topic.

---

Recently, a similar mangling definition issue around template instance had
reported, but finally it's marked as invalid.

  https://issues.dlang.org/show_bug.cgi?id=14592

Current dmd uses __U for the front-end only instances, but it won't appear
in the generated symbols.
It's just for the dmd-internal, so it's not documented in the spec.

I think we can take same approach.

As deadalnix pointed out, TypeIdentifier will never appear in any valid
symbol names in object files. Therefore the definition would be
dmd-internal specific, and can be removed from the spec.

Kenji Hara
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20150708/4c0dfd44/attachment.html>


More information about the Digitalmars-d mailing list