[compiler-rt] r359335 - [Sanitizer] Fix compliation error in test

Julian Lettner via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 26 11:27:35 PDT 2019


Author: yln
Date: Fri Apr 26 11:27:35 2019
New Revision: 359335

URL: http://llvm.org/viewvc/llvm-project?rev=359335&view=rev
Log:
[Sanitizer] Fix compliation error in test

Remove obsolete assert. I missed this in my previous patch:
https://reviews.llvm.org/D61145

Modified:
    compiler-rt/trunk/lib/interception/tests/interception_linux_test.cc

Modified: compiler-rt/trunk/lib/interception/tests/interception_linux_test.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/interception/tests/interception_linux_test.cc?rev=359335&r1=359334&r2=359335&view=diff
==============================================================================
--- compiler-rt/trunk/lib/interception/tests/interception_linux_test.cc (original)
+++ compiler-rt/trunk/lib/interception/tests/interception_linux_test.cc Fri Apr 26 11:27:35 2019
@@ -50,8 +50,6 @@ TEST(Interception, GetFuncAddr) {
 }
 
 TEST(Interception, Basic) {
-  ASSERT_TRUE(INTERCEPT_FUNCTION(isdigit));
-
   // After interception, the counter should be incremented.
   InterceptorFunctionCalled = 0;
   EXPECT_NE(0, isdigit('1'));




More information about the llvm-commits mailing list