Skip to content

Commit 62c61aa

Browse files
authored
[msan] Change #ifdef SANITIZER_PPC to #if (#94009)
0e96eeb accidentally turned the prior patch (57a5079) into a no-op because this macro is always defined (as either 1 or 0). This patch changes it to correctly use #if.
1 parent cc548ec commit 62c61aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/lib/msan/msan.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ int msan_report_count = 0;
104104
// in some configurations (e.g., "relocation R_X86_64_PC32 out of range:
105105
// ... is not in [-2147483648, 2147483647]; references section '.bss'").
106106
// We use kNumStackOriginDescrs * (sizeof(char*) + sizeof(uptr)) == 64MB.
107-
#ifdef SANITIZER_PPC
107+
#if SANITIZER_PPC
108108
// soft_rss_limit test (release_origin.c) fails on PPC if kNumStackOriginDescrs
109109
// is too high
110110
static const uptr kNumStackOriginDescrs = 1 * 1024 * 1024;

0 commit comments

Comments
 (0)