Fix https://lab.llvm.org/buildbot/#/builders/77/builds/26020. D147092
authorLeonard Chan <leonardchan@google.com>
Wed, 29 Mar 2023 22:28:44 +0000 (22:28 +0000)
committerLeonard Chan <leonardchan@google.com>
Wed, 29 Mar 2023 22:29:53 +0000 (22:29 +0000)
broke this build since I forgot to wrap the moved struct in the
`__sanitizer` namespace so uptr wasn't refering to __sanitizer::uptr.

compiler-rt/lib/sanitizer_common/sanitizer_mallinfo.h

index 3548378..4e58c02 100644 (file)
@@ -17,6 +17,8 @@
 #include "sanitizer_internal_defs.h"
 #include "sanitizer_platform.h"
 
+namespace __sanitizer {
+
 #if SANITIZER_ANDROID
 
 struct __sanitizer_struct_mallinfo {
@@ -31,4 +33,6 @@ struct __sanitizer_struct_mallinfo {
 
 #endif
 
+}  // namespace __sanitizer
+
 #endif  // SANITIZER_MALLINFO_H