[compiler-rt] df87e62 - [GWP-ASan] Fix 6413872

Alex Brachet via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 11 15:43:47 PST 2023


Author: Alex Brachet
Date: 2023-01-11T23:43:27Z
New Revision: df87e62cbd4b5090b5349247d29457706d2ac4e8

URL: https://github.com/llvm/llvm-project/commit/df87e62cbd4b5090b5349247d29457706d2ac4e8
DIFF: https://github.com/llvm/llvm-project/commit/df87e62cbd4b5090b5349247d29457706d2ac4e8.diff

LOG: [GWP-ASan] Fix 6413872

Use testing not zxtest in non-Fuchsia case

Added: 
    

Modified: 
    compiler-rt/lib/gwp_asan/tests/harness.h

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/gwp_asan/tests/harness.h b/compiler-rt/lib/gwp_asan/tests/harness.h
index e6be68cf74b3..efac8266c321 100644
--- a/compiler-rt/lib/gwp_asan/tests/harness.h
+++ b/compiler-rt/lib/gwp_asan/tests/harness.h
@@ -18,7 +18,7 @@ template <typename T> using TestWithParam = ::zxtest::TestWithParam<T>;
 #else
 #include "gtest/gtest.h"
 using Test = ::testing::Test;
-template <typename T> using TestWithParam = ::zxtest::TestWithParam<T>;
+template <typename T> using TestWithParam = ::testing::TestWithParam<T>;
 #endif
 
 #include "gwp_asan/guarded_pool_allocator.h"


        


More information about the llvm-commits mailing list