Skip to content

Commit 6416b1d

Browse files
committed
Add valgrind suppressions for bootstrap related code.
Author: Andres Freund Backpatch: 9.4, where we started to maintain valgrind suppressions
1 parent 8457c69 commit 6416b1d

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

src/tools/valgrind.supp

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,48 @@
9292
}
9393

9494

95+
{
96+
padding_bootstrap_initial_xlog_write
97+
Memcheck:Param
98+
write(buf)
99+
100+
...
101+
fun:BootStrapXLOG
102+
}
103+
104+
{
105+
padding_bootstrap_initial_xlog_CRC
106+
Memcheck:Value8
107+
fun:BootStrapXLOG
108+
fun:AuxiliaryProcessMain
109+
}
110+
111+
{
112+
padding_bootstrap_control_file_write
113+
Memcheck:Param
114+
write(buf)
115+
116+
...
117+
fun:WriteControlFile
118+
fun:BootStrapXLOG
119+
}
120+
121+
{
122+
padding_bootstrap_control_file_CRC
123+
Memcheck:Value8
124+
fun:WriteControlFile
125+
fun:BootStrapXLOG
126+
}
127+
128+
{
129+
bootstrap_write_relmap_overlap
130+
Memcheck:Overlap
131+
fun:memcpy*
132+
fun:write_relmap_file
133+
fun:RelationMapFinishBootstrap
134+
}
135+
136+
95137
# gcc on ppc64 can generate a four-byte read to fetch the final "char" fields
96138
# of a FormData_pg_cast. This is valid compiler behavior, because a proper
97139
# FormData_pg_cast has trailing padding. Tuples we treat as structures omit

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy