From aecae82f41406a348f9a6e65925c1bfe47ed5db2 Mon Sep 17 00:00:00 2001 From: Petr Hosek Date: Sat, 20 Jan 2018 03:37:47 +0000 Subject: [PATCH] Reland "Fix syntax error introduced in r322991" This triggers compiler error when building sanitizers for Fuchsia. Differential Revision: https://reviews.llvm.org/D42328 llvm-svn: 323029 --- compiler-rt/lib/sanitizer_common/sanitizer_coverage_fuchsia.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_coverage_fuchsia.cc b/compiler-rt/lib/sanitizer_common/sanitizer_coverage_fuchsia.cc index 756aeed..f1b63cb 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_coverage_fuchsia.cc +++ b/compiler-rt/lib/sanitizer_common/sanitizer_coverage_fuchsia.cc @@ -113,10 +113,10 @@ class TracePcGuardController final { // We can always spare the 32G of address space. static constexpr size_t MappingSize = sizeof(uptr) << 32; - BlockingMutex setup_lock_ = {LINKER_INITIALIZED}; + BlockingMutex setup_lock_ = BlockingMutex(LINKER_INITIALIZED); uptr *array_ = nullptr; u32 next_index_ = 0; - zx_handle_t vmo _ = {}; + zx_handle_t vmo_ = {}; char vmo_name_[ZX_MAX_NAME_LEN] = {}; size_t DataSize() const { return next_index_ * sizeof(uintptr_t); } -- 2.7.4