aboutsummaryrefslogtreecommitdiffstats
path: root/tool
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-10-12 15:06:45 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-10-12 15:07:42 +0900
commit9859dbc7fdaef2073fecd062c7294ab4dbb86b27 (patch)
tree6c0357a72f09235bbf1c6647f50462c853ad1f31 /tool
parentfeac15c1f3479f7d7641480a4608f3ac5d3b2fca (diff)
downloadruby-9859dbc7fdaef2073fecd062c7294ab4dbb86b27.tar.gz
Fix leaked symbols on FreeBSD [ci skip]
Diffstat (limited to 'tool')
-rwxr-xr-xtool/leaked-globals1
1 files changed, 1 insertions, 0 deletions
diff --git a/tool/leaked-globals b/tool/leaked-globals
index 4f4a35cc30..367d35ab86 100755
--- a/tool/leaked-globals
+++ b/tool/leaked-globals
@@ -67,6 +67,7 @@ IO.foreach("|#{NM} #{ARGV.join(' ')}") do |line|
next unless n.sub!(/^#{SYMBOL_PREFIX}/o, "")
next if n.include?(".")
next if !so and n.start_with?("___asan_")
+ case n; when "_init", "_fini"; next end
case n
when /\A(?:Init_|InitVM_|pm_|[Oo]nig|dln_|coroutine_)/
next