[PATCH] D24781: [ubsan] Respect log_to_syslog=1 on Darwin
Anna Zaks via llvm-commits
llvm-commits at lists.llvm.org
Sat Sep 24 00:45:45 PDT 2016
zaks.anna added inline comments.
================
Comment at: lib/sanitizer_common/sanitizer_mac.cc:505
@@ +504,3 @@
+ // registry lock. See this discussion: https://reviews.llvm.org/D24781
+ if (!atomic_load(reinterpret_cast<atomic_uint32_t *>(&is_log_threadsafe),
+ memory_order_acquire))
----------------
The expected behavior is that we **do** log to syslog for ASan and TSan when log_to_syslog is set.
https://reviews.llvm.org/D24781
More information about the llvm-commits
mailing list