[PATCH] D58379: [compiler-rt] Intercept the bcmp() function.

Kamil Rytarowski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 19 02:47:18 PST 2019


krytarowski added inline comments.


================
Comment at: lib/asan/tests/asan_mem_test.cc:248
+TEST(AddressSanitizer, BCmpOOBTest) {
+#ifdef _GNU_SOURCE
+  CmpOOBTestCommon<bcmp>();
----------------
krytarowski wrote:
> `|| defined(__NetBSD__)`
This syntax is not valid.

`#if defined(_GNU_SOURCE) || defined(__NetBSD__)`


Repository:
  rCRT Compiler Runtime

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D58379/new/

https://reviews.llvm.org/D58379





More information about the llvm-commits mailing list