Can't add the allocated section to elf file using inline assembly
kinke
kinke at gmx.net
Tue Nov 5 11:13:56 UTC 2019
On Tuesday, 5 November 2019 at 09:49:35 UTC, drug wrote:
> Is it a bug or I misuse something? Is there way to work around
> it?
I assume you're looking for module-level assembly, not contained
in a function; that's what we lower DMD-style asm to, but isn't
supported for __asm AFAIK.
Anyway, I recommend comparing the generated assembly by clang
(`-S` IIRC) and LDC (-output-s) to figure out the difference.
More information about the digitalmars-d-ldc
mailing list