[PATCH] D42068: Add new interceptors for pwcache(3)-style functions

Vitaly Buka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 18 13:30:40 PST 2018


vitalybuka added inline comments.


================
Comment at: compiler-rt/trunk/test/sanitizer_common/TestCases/NetBSD/gid_from_group.cc:10
+  if (gid_from_group("nobody", &nobody) == -1)
+    exit(1);
+
----------------
why exit and not just return 1, return 0?


Repository:
  rL LLVM

https://reviews.llvm.org/D42068





More information about the llvm-commits mailing list