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

--- Comment #2 from Iain Buclaw <[email protected]> ---
GDC doesn't run into this by calling the aliased symbol directly in the thunk,
e.g:

GDC
---
subl   $0x8,0x4(%esp)
jmp    0xf7f34ffb <_D5mydll1C3fooMFCQp1IZCQvQr>
---

DMD
---
sub    $0x8,%eax
jmp    0xf7f06970 <_D5mydll1C3fooMFCQp1IZCQvQr@plt>
---


GDC only generates thunks for symbols that are being emitted in this
compilation, AFAIK it's not possible to have a thunk for an external symbol in
DMD as well?

--

Reply via email to