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.