[PATCH] D35026: [Sanitizers] Consolidate internal errno definitions.

Kamil Rytarowski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 5 16:21:27 PDT 2017


krytarowski added inline comments.


================
Comment at: lib/sanitizer_common/sanitizer_errno.inc:21
+
+#define errno_ENOMEM 12
+#define errno_EBUSY 16
----------------
alekseyshl wrote:
> krytarowski wrote:
> > Why 12, 16, 22?
> Cause I want literals instead of extern consts whenever possible. Was that the question?
I was wondering whether these values are portable.. but they happen to be the same on my platform (NetBSD). Please ignore.


https://reviews.llvm.org/D35026





More information about the llvm-commits mailing list