From 440c51317bcbc15aec372bc78cf6fbf59d7eb435 Mon Sep 17 00:00:00 2001 From: David Benjamin Date: Sat, 16 Mar 2024 21:22:59 -0400 Subject: [PATCH] Filter out DW.ref.__gxx_personality_v0 in read_symbols.go As documented, the symbol prefixing mechanism is experimental and unsupported. There are several corners where we know it doesn't give the correct output. Nonetheless, this is an easy one to fix. Fixed: 707 Change-Id: I69a3e61a3198a193cb90f822218f1efbaa31fb1a Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/67067 Auto-Submit: David Benjamin Commit-Queue: David Benjamin Reviewed-by: Adam Langley Commit-Queue: Adam Langley --- util/read_symbols.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/read_symbols.go b/util/read_symbols.go index 1d8ec8595..c5024f473 100644 --- a/util/read_symbols.go +++ b/util/read_symbols.go @@ -142,7 +142,7 @@ func main() { break } } - if skip || isCXXSymbol(s) || strings.HasPrefix(s, "__real@") || strings.HasPrefix(s, "__x86.get_pc_thunk.") { + if skip || isCXXSymbol(s) || strings.HasPrefix(s, "__real@") || strings.HasPrefix(s, "__x86.get_pc_thunk.") || strings.HasPrefix(s, "DW.") { continue } if _, err := fmt.Fprintln(out, s); err != nil {