[compiler-rt] 9f9077d - [sanitizers] Add missing definition
Vy Nguyen via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 4 21:24:54 PST 2020
Author: Vy Nguyen
Date: 2020-11-05T00:24:36-05:00
New Revision: 9f9077d7d1b436c75e493916c7c196a4c4937388
URL: https://github.com/llvm/llvm-project/commit/9f9077d7d1b436c75e493916c7c196a4c4937388
DIFF: https://github.com/llvm/llvm-project/commit/9f9077d7d1b436c75e493916c7c196a4c4937388.diff
LOG: [sanitizers] Add missing definition
Fix breakages from https://reviews.llvm.org/D90811
http://lab.llvm.org:8011/#/builders/37/builds/471/steps/8/logs/stdio
Differential Revision: https://reviews.llvm.org/D90818
Added:
Modified:
compiler-rt/lib/sanitizer_common/sanitizer_common_nolibc.cpp
Removed:
################################################################################
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_common_nolibc.cpp b/compiler-rt/lib/sanitizer_common/sanitizer_common_nolibc.cpp
index 3b278e017eb7..487a634a1652 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_common_nolibc.cpp
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_common_nolibc.cpp
@@ -10,9 +10,10 @@
// libc in no-libcdep sources.
//===----------------------------------------------------------------------===//
-#include "sanitizer_platform.h"
#include "sanitizer_common.h"
+#include "sanitizer_flags.h"
#include "sanitizer_libc.h"
+#include "sanitizer_platform.h"
namespace __sanitizer {
@@ -29,6 +30,7 @@ void SleepForSeconds(int seconds) { internal_sleep(seconds); }
#if !SANITIZER_WINDOWS && !SANITIZER_MAC
void ListOfModules::init() {}
+void InitializePlatformCommonFlags(CommonFlags *cf) {}
#endif
} // namespace __sanitizer
More information about the llvm-commits
mailing list