Skip to content

Commit 941ad1a

Browse files
committed
msg-filter.cc: squash UBSAN reports that only differ in the address
Resolves: #150
1 parent af14fe1 commit 941ad1a

5 files changed

+649
-0
lines changed

src/lib/msg-filter.cc

+3
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,9 @@ MsgFilter::MsgFilter():
156156

157157
// used by IDENTIFIER_TYPO (but applies generally)
158158
d->addMsgFilter("", "at least [0-9][0-9]* times.$");
159+
160+
// squash UBSAN reports that only differ in the address
161+
d->addMsgFilter("UBSAN_WARNING", "0x[[:xdigit:]]+");
159162
}
160163

161164
MsgFilter::~MsgFilter() = default;
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
--remove-duplicates

0 commit comments

Comments
 (0)