projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
597e9c6
)
[CSSPGO][llvm-profgen] Fix a missing initalization
author
Hongtao Yu
<hoy@fb.com>
Wed, 14 Jul 2021 02:49:50 +0000
(19:49 -0700)
committer
Hongtao Yu
<hoy@fb.com>
Wed, 14 Jul 2021 02:49:55 +0000
(19:49 -0700)
Fixing a missing initalization that accidentaly caused by https://reviews.llvm.org/D103178 .
llvm/tools/llvm-profgen/ProfiledBinary.h
patch
|
blob
|
history
diff --git
a/llvm/tools/llvm-profgen/ProfiledBinary.h
b/llvm/tools/llvm-profgen/ProfiledBinary.h
index
8b456d4
..
be1169e
100644
(file)
--- 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<uint64_t> PreferredTextSegmentAddresses;
// The file offset of each executable segment.