Naked functions

Jack Applegame japplegame at gmail.com
Fri Jul 27 19:34:49 UTC 2018


This code

> import ldc.llvmasm;
> @naked void foo() {
>   __asm("mov lr, 0xfffffffd", "");
> }

Definitely should compile to

> mvn.w   lr, #2

But now it compiles to

> mvn.w   lr, #2
> bx      lr



More information about the digitalmars-d-ldc mailing list