summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Hosek <phosek@chromium.org>2018-01-20 03:23:45 +0000
committerPetr Hosek <phosek@chromium.org>2018-01-20 03:23:45 +0000
commit2a262101878373873b7a50b46bbed81c39895cc5 (patch)
treeee39409d8bca0a4823ef3992b675d9aea287eaf4
parent51bbea2017f2042565c8deca82ff41a7c8653d95 (diff)
downloadbcm5719-llvm-2a262101878373873b7a50b46bbed81c39895cc5.tar.gz
bcm5719-llvm-2a262101878373873b7a50b46bbed81c39895cc5.zip
Revert "[sanitizer] Fix syntax error introduced in r322991"
This reverts commit r323027: it breaks the SanitizerLintCheck. llvm-svn: 323028
-rw-r--r--compiler-rt/lib/sanitizer_common/sanitizer_coverage_fuchsia.cc4
1 files 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 582b0b8d133..756aeed6437 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_ = BlockingMutex{LINKER_INITIALIZED};
+ BlockingMutex setup_lock_ = {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); }
OpenPOWER on IntegriCloud