From 482b699a51d43ca1eb7b0d2c83fd4c2a1aeb138a Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Thu, 10 Oct 2019 18:11:49 +0000 Subject: [PATCH] Fix buildbots by using memset instead of bzero. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@374409 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/DebugInfo/GSYM/GsymCreator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/DebugInfo/GSYM/GsymCreator.cpp b/lib/DebugInfo/GSYM/GsymCreator.cpp index 9dc632dfcfb..cf9ec32da8d 100644 --- a/lib/DebugInfo/GSYM/GsymCreator.cpp +++ b/lib/DebugInfo/GSYM/GsymCreator.cpp @@ -73,7 +73,7 @@ llvm::Error GsymCreator::encode(FileWriter &O) const { Hdr.NumAddresses = static_cast(Funcs.size()); Hdr.StrtabOffset = 0; // We will fix this up later. Hdr.StrtabOffset = 0; // We will fix this up later. - bzero(Hdr.UUID, sizeof(Hdr.UUID)); + memset(Hdr.UUID, 0, sizeof(Hdr.UUID)); if (UUID.size() > sizeof(Hdr.UUID)) return createStringError(std::errc::invalid_argument, "invalid UUID size %u", (uint32_t)UUID.size()); -- 2.40.0