[compiler-rt] r323029 - Reland "Fix syntax error introduced in r322991"

Petr Hosek via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 19 19:37:47 PST 2018


Author: phosek
Date: Fri Jan 19 19:37:47 2018
New Revision: 323029

URL: http://llvm.org/viewvc/llvm-project?rev=323029&view=rev
Log:
Reland "Fix syntax error introduced in r322991"

This triggers compiler error when building sanitizers for Fuchsia.

Differential Revision: https://reviews.llvm.org/D42328

Modified:
    compiler-rt/trunk/lib/sanitizer_common/sanitizer_coverage_fuchsia.cc

Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_coverage_fuchsia.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_coverage_fuchsia.cc?rev=323029&r1=323028&r2=323029&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_coverage_fuchsia.cc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_coverage_fuchsia.cc Fri Jan 19 19:37:47 2018
@@ -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); }




More information about the llvm-commits mailing list