diff --git a/compiler-rt/lib/xray/xray_allocator.h b/compiler-rt/lib/xray/xray_allocator.h --- a/compiler-rt/lib/xray/xray_allocator.h +++ b/compiler-rt/lib/xray/xray_allocator.h @@ -66,7 +66,7 @@ if (UNLIKELY(internal_iserror(B, &ErrNo))) { if (Verbosity()) Report("XRay Profiling: Failed to allocate memory of size %zu; Error = " - "%zu.\n", + "%zu\n", RoundedSize, B); return nullptr; } @@ -115,7 +115,7 @@ if (UNLIKELY(internal_iserror(B, &ErrNo))) { if (Verbosity()) Report("XRay Profiling: Failed to allocate memory of size %zu; Error = " - "%zu.\n", + "%zu\n", RoundedSize, B); return nullptr; } @@ -183,7 +183,7 @@ BackingStore = allocateBuffer(MaxMemory); if (BackingStore == nullptr) { if (Verbosity()) - Report("XRay Profiling: Failed to allocate memory for allocator.\n"); + Report("XRay Profiling: Failed to allocate memory for allocator\n"); return nullptr; } @@ -198,7 +198,7 @@ AlignedNextBlock = BackingStore = nullptr; if (Verbosity()) Report("XRay Profiling: Cannot obtain enough memory from " - "preallocated region.\n"); + "preallocated region\n"); return nullptr; }