From 6b04ecaab355f0dfce8a980cb67a39662759734c Mon Sep 17 00:00:00 2001 From: Hongtao Yu Date: Tue, 13 Jul 2021 19:49:50 -0700 Subject: [PATCH] [CSSPGO][llvm-profgen] Fix a missing initalization Fixing a missing initalization that accidentaly caused by https://reviews.llvm.org/D103178 . --- llvm/tools/llvm-profgen/ProfiledBinary.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/tools/llvm-profgen/ProfiledBinary.h b/llvm/tools/llvm-profgen/ProfiledBinary.h index 8b456d4f669c..be1169e41f7e 100644 --- a/llvm/tools/llvm-profgen/ProfiledBinary.h +++ b/llvm/tools/llvm-profgen/ProfiledBinary.h @@ -100,7 +100,7 @@ class ProfiledBinary { // The target triple. Triple TheTriple; // The runtime base address that the first executable segment is loaded at. - uint64_t BaseAddress; + uint64_t BaseAddress = 0; // The preferred load address of each executable segment. std::vector PreferredTextSegmentAddresses; // The file offset of each executable segment.