tsan: fix lint warnings
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169369 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/sanitizer_common/sanitizer_linux.cc b/lib/sanitizer_common/sanitizer_linux.cc
index 071620f..9627443 100644
--- a/lib/sanitizer_common/sanitizer_linux.cc
+++ b/lib/sanitizer_common/sanitizer_linux.cc
@@ -218,7 +218,8 @@
}
// ----------------- sanitizer_procmaps.h
-ProcSelfMapsBuff MemoryMappingLayout::cached_proc_self_maps_; // Linker initialized.
+// Linker initialized.
+ProcSelfMapsBuff MemoryMappingLayout::cached_proc_self_maps_;
StaticSpinMutex MemoryMappingLayout::cache_lock_; // Linker initialized.
MemoryMappingLayout::MemoryMappingLayout() {
@@ -269,7 +270,7 @@
void MemoryMappingLayout::LoadFromCache() {
SpinMutexLock l(&cache_lock_);
if (cached_proc_self_maps_.data) {
- proc_self_maps_ = cached_proc_self_maps_;
+ proc_self_maps_ = cached_proc_self_maps_;
}
}