[PATCH] D37156: [SanitizeCoverage] Enable stack-depth coverage for -fsanitize=fuzzer

Kostya Serebryany via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 28 11:31:28 PDT 2017


kcc added a reviewer: george.karpenkov.
kcc added a comment.

+George, in case he knows about __attribute__((tls_model("initial-exec"))) on Mac



================
Comment at: compiler-rt/lib/sanitizer_common/sanitizer_coverage_libcdep_new.cc:218
+SANITIZER_INTERFACE_ATTRIBUTE SANITIZER_WEAK_ATTRIBUTE
+__attribute__((tls_model("initial-exec")))
+thread_local uintptr_t __sancov_lowest_stack;
----------------
I wonder if this going to work on Mac. 


https://reviews.llvm.org/D37156





More information about the cfe-commits mailing list