There was some hope that noinline+noclone function attributes in gcc could substitute separate compilation. Nope -- https://goo.gl/mzdXw7
-
-
@RichFelker Indeed, and this is an approach taken by OpenBSD for explicit_bzero -- http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib/libc/string/explicit_bzero.c?rev=1.4&content-type=text/x-cvsweb-markup … -
@ch3root __asm__ __volatile__(""::"r"(buf):"memory") would be a lot safer (LTO-safe too) for that. -
@RichFelker This barrier could be made much more precise: __asm__ (""::"m"(*(char (*)[len])buf)). But does it obey strict aliasing rules?..
End of conversation
New conversation -
-
-
.
@RichFelker weak attribute is weak against LTO -- https://goo.gl/pHKOIKThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.