[compiler-rt][scudo] Add missing preprocessor token
authorLeonard Chan <leonardchan@google.com>
Tue, 24 May 2022 18:11:31 +0000 (11:11 -0700)
committerLeonard Chan <leonardchan@google.com>
Tue, 24 May 2022 18:12:30 +0000 (11:12 -0700)
This should fix build errors seen on bots like
https://lab.llvm.org/buildbot/#/builders/57/builds/18263.

compiler-rt/lib/scudo/standalone/memtag.h

index 13eb4bb..d65e76a 100644 (file)
@@ -23,8 +23,8 @@ namespace scudo {
 // support for memory tagging if the operating system enables TBI.
 // HWASan uses the top byte for its own purpose and Scudo should not touch it.
 #if (__clang_major__ >= 12 && defined(__aarch64__) && !defined(__ILP32__) &&   \
-     SCUDO_LINUX &&                                                            \
-     !defined(SCUDO_DISABLE_TBI) !__has_feature(hwaddress_sanitizer)) ||       \
+     SCUDO_LINUX && !defined(SCUDO_DISABLE_TBI) &&                             \
+     !__has_feature(hwaddress_sanitizer)) ||                                   \
     defined(SCUDO_FUZZ)
 
 inline constexpr bool archSupportsMemoryTagging() { return true; }