On Tue, Jan 10, 2017 at 12:33:49AM +0100, Patrick Wildt wrote:
> while working on OpenBSD/arm64 I stumbled upon the issue that the CTOR
> and DTOR LIST was optimized away by clang. Instead of the __ctors()
> call it created an endless loop, doing nothing at all. I don't know
> why it does exactly
Hi,
while working on OpenBSD/arm64 I stumbled upon the issue that the CTOR
and DTOR LIST was optimized away by clang. Instead of the __ctors()
call it created an endless loop, doing nothing at all. I don't know
why it does exactly that optimization. Marking the lists as __used
prevents clang fr