asm stackframe question

Stefan stefan at schuerger.com
Sun Apr 8 05:36:19 PDT 2012


On Saturday, 7 April 2012 at 23:50:42 UTC, bearophile wrote:
> Use the "naked" attribute and do it all by yourself?

Then I would also have to do the throw
a) fully by myself (with mangling, etc), or
b) at least get the stack frame in order so that the throw finds 
the stack the way it expects...

> Keep also in mind that D functions that contain ASM don't get 
> inlined in DMD (and probably elsewhere too).

Yes, but I don't have much of a choice here...

Cheers,
Stefan


More information about the Digitalmars-d-learn mailing list