I've tested it with clang 3.9.0 and it seems to support this attribute.
But what about MSVC and all the other compilers which can be found in
edk2's tools_def?
I wasn't able to find anything useful about twice-returning function
support for these compilers. So do they just never apply
On 8 December 2016 at 13:30, Michael Zimmermann
wrote:
> When compiling with any ARM toolchain and Os, registers can get
> trashed when returning for the second time from SetJump because GCC
> only handles this correctly when using standard names like 'setjmp' or
>
When compiling with any ARM toolchain and Os, registers can get
trashed when returning for the second time from SetJump because GCC
only handles this correctly when using standard names like 'setjmp' or
'getcontext'. When different names are used you have to use the
attribute 'returns_twice' to
3 matches
Mail list logo