[compiler-rt] f58a1f6 - [rt][nfc] Rewrite #ifndef as #if defined().
Alexander Belyaev via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 19 05:17:28 PDT 2021
Author: Alexander Belyaev
Date: 2021-07-19T14:17:13+02:00
New Revision: f58a1f65e74686b7a59ae2fa849ce4c70d520e89
URL: https://github.com/llvm/llvm-project/commit/f58a1f65e74686b7a59ae2fa849ce4c70d520e89
DIFF: https://github.com/llvm/llvm-project/commit/f58a1f65e74686b7a59ae2fa849ce4c70d520e89.diff
LOG: [rt][nfc] Rewrite #ifndef as #if defined().
Added:
Modified:
compiler-rt/lib/gwp_asan/tests/backtrace.cpp
Removed:
################################################################################
diff --git a/compiler-rt/lib/gwp_asan/tests/backtrace.cpp b/compiler-rt/lib/gwp_asan/tests/backtrace.cpp
index 7a3427ed85d2..a4eb8eb9b214 100644
--- a/compiler-rt/lib/gwp_asan/tests/backtrace.cpp
+++ b/compiler-rt/lib/gwp_asan/tests/backtrace.cpp
@@ -46,7 +46,7 @@ TEST_F(BacktraceGuardedPoolAllocatorDeathTest, DoubleFree) {
}
TEST_F(BacktraceGuardedPoolAllocatorDeathTest, UseAfterFree) {
-#ifdef __linux__ && __ARM_ARCH == 7
+#if defined(__linux__) && __ARM_ARCH == 7
// Incomplete backtrace on Armv7 Linux
GTEST_SKIP();
#endif
More information about the llvm-commits
mailing list