================
Comment at: lib/safestack/safestack.cc:166
@@ +165,3 @@
+__attribute__((visibility ("default")))
+#ifndef __ELF__
+// On ELF platforms, the constructor is invoked using .preinit_array (see 
below)
----------------
ksvladimir wrote:
> This should also use SANITIZER_CAN_USE_PREINIT_ARRAY: 
> __attribute__((constructor(0))) should be added whenever preinit_array is not 
> used.
Done

http://reviews.llvm.org/D6096

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/



_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to