[PATCH] Support building tsan_test_util_linux.cc on FreeBSD
Alexey Samsonov
vonosmas at gmail.com
Fri Sep 5 13:21:08 PDT 2014
LGTM
================
Comment at: lib/tsan/tests/rtl/tsan_test_util_linux.cc:273
@@ -267,3 +272,3 @@
tsan_mop(ev->ptr);
- CHECK_EQ(errno, ECHRNG); // In no case must errno be changed.
+ CHECK_EQ(errno, ErrCode); // In no case must errno be changed.
break;
----------------
While you're here, replace this with
CHECK_EQ(ErrCode, errno);
(expected value is supposed to go first).
http://reviews.llvm.org/D5210
More information about the llvm-commits
mailing list