[PATCH] D37304: Add preliminary NetBSD support in libfuzzer
Kamil Rytarowski via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 30 15:06:13 PDT 2017
krytarowski added inline comments.
================
Comment at: lib/fuzzer/tests/CMakeLists.txt:13
set(LIBFUZZER_UNITTEST_LINK_FLAGS ${COMPILER_RT_UNITTEST_LINK_FLAGS})
+if (OS_NAME MATCHES "NetBSD")
+ list(APPEND LIBFUZZER_UNITTEST_LINK_FLAGS -lrt)
----------------
kcc wrote:
> I think this should be fixed on the driver side, i.e. -fsanitize=address (and similar) should add -lrt, as they do on Linux.
It might be overlinking.. but for now I will drop this part from the commit.
Repository:
rL LLVM
https://reviews.llvm.org/D37304
More information about the llvm-commits
mailing list