[PATCH] D84947: Add libFuzzer shared object build output

JF Bastien via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 5 11:27:54 PDT 2020


jfb added inline comments.


================
Comment at: compiler-rt/lib/fuzzer/CMakeLists.txt:192
+  set(LIBFUZZER_SHARED_LINK_LIBS ${SANITIZER_COMMON_LINK_LIBS})
+  list(APPEND LIBFUZZER_SHARED_LINK_LIBS "-lstdc++")
+  list(APPEND LIBFUZZER_SHARED_LINK_LIBS "-lm")
----------------
This is broken on non-Linux and non-Fuchsia architectures which don't have libstdc++, for example Darwin. Can you please fix or revert? 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D84947



More information about the llvm-commits mailing list