[PATCH] D46622: wrong usages of sem_open in the libFuzzer

Kostya Serebryany via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 9 09:09:16 PDT 2018


kcc added a comment.

I don't mind, but just a FYI: it's likely that I will delete this code in near future.



================
Comment at: lib/fuzzer/FuzzerShmemPosix.cpp:35
   std::string Res(Name);
+  if (!Res.empty() && Res[0] != '/')
+    Res.insert(Res.begin(), '/');
----------------
please explain in a comment


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D46622





More information about the llvm-commits mailing list