Skip to content

Commit 478648e

Browse files
authored
[gwp_asan] Soft-transition ZXTEST_USE_STREAMABLE_MACROS removal (llvm#121887)
Soft-transition the removal of setting ZXTEST_USE_STREAMABLE_MACROS, by only setting the macro if not already defined. A future PR will remove setting the macro entirely in harness.h.
1 parent 5c7a696 commit 478648e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
#include <stdarg.h>
1313

1414
#if defined(__Fuchsia__)
15+
#ifndef ZXTEST_USE_STREAMABLE_MACROS
1516
#define ZXTEST_USE_STREAMABLE_MACROS
17+
#endif
1618
#include <zxtest/zxtest.h>
1719
namespace testing = zxtest;
1820
// zxtest defines a different ASSERT_DEATH, taking a lambda and an error message

0 commit comments

Comments
 (0)