[compiler-rt] e93eff7 - Fix https://lab.llvm.org/buildbot/#/builders/77/builds/26020. D147092
Leonard Chan via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 29 15:30:09 PDT 2023
Author: Leonard Chan
Date: 2023-03-29T22:29:53Z
New Revision: e93eff727734ae3d2243e5bb3809d3f8e3621a86
URL: https://github.com/llvm/llvm-project/commit/e93eff727734ae3d2243e5bb3809d3f8e3621a86
DIFF: https://github.com/llvm/llvm-project/commit/e93eff727734ae3d2243e5bb3809d3f8e3621a86.diff
LOG: Fix https://lab.llvm.org/buildbot/#/builders/77/builds/26020. D147092
broke this build since I forgot to wrap the moved struct in the
`__sanitizer` namespace so uptr wasn't refering to __sanitizer::uptr.
Added:
Modified:
compiler-rt/lib/sanitizer_common/sanitizer_mallinfo.h
Removed:
################################################################################
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_mallinfo.h b/compiler-rt/lib/sanitizer_common/sanitizer_mallinfo.h
index 354837822bd2b..4e58c02df8351 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_mallinfo.h
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_mallinfo.h
@@ -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
More information about the llvm-commits
mailing list