Commit 786ce263 authored by Yang Guo's avatar Yang Guo Committed by Commit Bot

Move sanitizer-related files

TBR=hpayer@chromium.org
NOPRESUBMIT=true

Bug: v8:9247
Change-Id: I3d49c1c748fe5109523d4cd122ba925f20cfc60b
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1619755Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
Commit-Queue: Yang Guo <yangguo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#61685}
parent 9a858df6
......@@ -2025,7 +2025,6 @@ v8_source_set("v8_base_without_compiler") {
"src/arguments-inl.h",
"src/arguments.cc",
"src/arguments.h",
"src/asan.h",
"src/asmjs/asm-js.cc",
"src/asmjs/asm-js.h",
"src/asmjs/asm-names.h",
......@@ -2426,7 +2425,6 @@ v8_source_set("v8_base_without_compiler") {
"src/messages.h",
"src/microtask-queue.cc",
"src/microtask-queue.h",
"src/msan.h",
"src/numbers/bignum-dtoa.cc",
"src/numbers/bignum-dtoa.h",
"src/numbers/bignum.cc",
......@@ -2768,6 +2766,8 @@ v8_source_set("v8_base_without_compiler") {
"src/runtime/runtime-weak-refs.cc",
"src/runtime/runtime.cc",
"src/runtime/runtime.h",
"src/sanitizer/asan.h",
"src/sanitizer/msan.h",
"src/simulator-base.cc",
"src/simulator-base.h",
"src/simulator.h",
......@@ -3468,8 +3468,6 @@ v8_component("v8_libbase") {
"src/base/list.h",
"src/base/logging.cc",
"src/base/logging.h",
"src/base/lsan-page-allocator.cc",
"src/base/lsan-page-allocator.h",
"src/base/macros.h",
"src/base/once.cc",
"src/base/once.h",
......@@ -3497,9 +3495,11 @@ v8_component("v8_libbase") {
"src/base/sys-info.h",
"src/base/template-utils.h",
"src/base/timezone-cache.h",
"src/base/tsan.h",
"src/base/utils/random-number-generator.cc",
"src/base/utils/random-number-generator.h",
"src/sanitizer/lsan-page-allocator.cc",
"src/sanitizer/lsan-page-allocator.h",
"src/sanitizer/tsan.h",
]
configs = [ ":internal_config_base" ]
......
......@@ -8,10 +8,10 @@
#include "src/base/bits.h"
#include "src/base/lazy-instance.h"
#include "src/base/logging.h"
#include "src/base/lsan-page-allocator.h"
#include "src/base/page-allocator.h"
#include "src/base/platform/platform.h"
#include "src/memcopy.h"
#include "src/sanitizer/lsan-page-allocator.h"
#include "src/v8.h"
#include "src/vector.h"
......
......@@ -33,13 +33,13 @@
#include "src/debug/debug-interface.h"
#include "src/diagnostics/basic-block-profiler.h"
#include "src/interpreter/interpreter.h"
#include "src/msan.h"
#include "src/objects-inl.h"
#include "src/objects.h"
#include "src/ostreams.h"
#include "src/parsing/parse-info.h"
#include "src/parsing/parsing.h"
#include "src/parsing/scanner-character-streams.h"
#include "src/sanitizer/msan.h"
#include "src/snapshot/natives.h"
#include "src/trap-handler/trap-handler.h"
#include "src/utils.h"
......
......@@ -7,7 +7,7 @@
#include "src/handles.h"
#include "src/isolate.h"
#include "src/msan.h"
#include "src/sanitizer/msan.h"
namespace v8 {
namespace internal {
......
......@@ -22,7 +22,6 @@
#include "src/heap/spaces-inl.h"
#include "src/isolate-data.h"
#include "src/isolate.h"
#include "src/msan.h"
#include "src/objects-inl.h"
#include "src/objects/allocation-site-inl.h"
#include "src/objects/api-callbacks-inl.h"
......@@ -37,6 +36,7 @@
#include "src/objects/slots-inl.h"
#include "src/objects/struct-inl.h"
#include "src/profiler/heap-profiler.h"
#include "src/sanitizer/msan.h"
#include "src/strings/string-hasher.h"
#include "src/zone/zone-list-inl.h"
......
......@@ -12,8 +12,8 @@
#include "src/base/v8-fallthrough.h"
#include "src/heap/heap-inl.h"
#include "src/heap/incremental-marking.h"
#include "src/msan.h"
#include "src/objects/code-inl.h"
#include "src/sanitizer/msan.h"
namespace v8 {
namespace internal {
......
......@@ -23,11 +23,11 @@
#include "src/heap/slot-set.h"
#include "src/heap/sweeper.h"
#include "src/logging/counters.h"
#include "src/msan.h"
#include "src/objects-inl.h"
#include "src/objects/free-space-inl.h"
#include "src/objects/js-array-buffer-inl.h"
#include "src/ostreams.h"
#include "src/sanitizer/msan.h"
#include "src/snapshot/snapshot.h"
#include "src/v8.h"
#include "src/vm-state-inl.h"
......
......@@ -15,7 +15,6 @@
#include "src/objects.h"
#include "src/base/bits.h"
#include "src/base/tsan.h"
#include "src/builtins/builtins.h"
#include "src/handles-inl.h"
#include "src/heap/factory.h"
......@@ -39,6 +38,7 @@
#include "src/objects/smi-inl.h"
#include "src/objects/tagged-impl-inl.h"
#include "src/objects/templates.h"
#include "src/sanitizer/tsan.h"
#include "src/v8memory.h"
#include "torque-generated/class-definitions-tq-inl.h"
......
......@@ -7,7 +7,6 @@
#include "src/objects/fixed-array.h"
#include "src/base/tsan.h"
#include "src/handles-inl.h"
#include "src/heap/heap-write-barrier-inl.h"
#include "src/numbers/conversions.h"
......@@ -20,6 +19,7 @@
#include "src/objects/oddball.h"
#include "src/objects/slots.h"
#include "src/roots-inl.h"
#include "src/sanitizer/tsan.h"
// Has to be the last include (doesn't have include guards):
#include "src/objects/object-macros.h"
......
......@@ -7,11 +7,11 @@
#include <cinttypes>
#include "include/v8-profiler.h"
#include "src/asan.h"
#include "src/frames-inl.h"
#include "src/heap/heap-inl.h" // For MemoryAllocator::code_range.
#include "src/logging/counters.h"
#include "src/msan.h"
#include "src/sanitizer/asan.h"
#include "src/sanitizer/msan.h"
#include "src/simulator.h"
#include "src/vm-state-inl.h"
......
file://INFRA_OWNERS
......@@ -4,8 +4,8 @@
// AddressSanitizer support.
#ifndef V8_ASAN_H_
#define V8_ASAN_H_
#ifndef V8_SANITIZER_ASAN_H_
#define V8_SANITIZER_ASAN_H_
#include "src/base/macros.h"
#include "src/globals.h"
......@@ -25,4 +25,4 @@
#endif // V8_USE_ADDRESS_SANITIZER
#endif // V8_ASAN_H_
#endif // V8_SANITIZER_ASAN_H_
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/base/lsan-page-allocator.h"
#include "src/sanitizer/lsan-page-allocator.h"
#include "src/base/logging.h"
......
......@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_BASE_LSAN_PAGE_ALLOCATOR_H_
#define V8_BASE_LSAN_PAGE_ALLOCATOR_H_
#ifndef V8_SANITIZER_LSAN_PAGE_ALLOCATOR_H_
#define V8_SANITIZER_LSAN_PAGE_ALLOCATOR_H_
#include "include/v8-platform.h"
#include "src/base/base-export.h"
......@@ -53,4 +53,4 @@ class V8_BASE_EXPORT LsanPageAllocator
} // namespace base
} // namespace v8
#endif // V8_BASE_LSAN_PAGE_ALLOCATOR_H_
#endif // V8_SANITIZER_LSAN_PAGE_ALLOCATOR_H_
......@@ -4,8 +4,8 @@
// MemorySanitizer support.
#ifndef V8_MSAN_H_
#define V8_MSAN_H_
#ifndef V8_SANITIZER_MSAN_H_
#define V8_SANITIZER_MSAN_H_
#include "src/base/macros.h"
#include "src/globals.h"
......@@ -33,4 +33,4 @@
#endif // V8_USE_MEMORY_SANITIZER
#endif // V8_MSAN_H_
#endif // V8_SANITIZER_MSAN_H_
......@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_BASE_TSAN_H_
#define V8_BASE_TSAN_H_
#ifndef V8_SANITIZER_TSAN_H_
#define V8_SANITIZER_TSAN_H_
namespace v8 {
namespace base {
......@@ -44,4 +44,4 @@ void AnnotateIgnoreWritesEnd(const char* file, int line);
} // namespace base
} // namespace v8
#endif // V8_BASE_TSAN_H_
#endif // V8_SANITIZER_TSAN_H_
......@@ -12,7 +12,7 @@
#include "src/codegen/assembler-arch.h"
#include "src/codegen/source-position-table.h"
#include "src/flags.h"
#include "src/msan.h"
#include "src/sanitizer/msan.h"
#include "src/snapshot/embedded-file-writer.h"
#include "src/snapshot/natives.h"
#include "src/snapshot/partial-serializer.h"
......
......@@ -9,7 +9,7 @@
#include "src/base/bits.h"
#include "src/external-reference-table.h"
#include "src/globals.h"
#include "src/msan.h"
#include "src/sanitizer/msan.h"
#include "src/snapshot/references.h"
#include "src/v8memory.h"
#include "src/visitors.h"
......
......@@ -4,7 +4,7 @@
#include "src/zone/zone-segment.h"
#include "src/msan.h"
#include "src/sanitizer/msan.h"
namespace v8 {
namespace internal {
......
......@@ -6,7 +6,7 @@
#include <cstring>
#include "src/asan.h"
#include "src/sanitizer/asan.h"
#include "src/utils.h"
#include "src/v8.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment