diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-12-29 21:00:02 +0900 |
---|---|---|
committer | usa <usa@garbagecollect.jp> | 2024-04-15 14:05:57 +0900 |
commit | f95abc3cecc86c9dbb476ab61f7545e141686430 (patch) | |
tree | d8894b4352427b1e167c5c942423015f642f2f3c | |
parent | 682d7e31940a7282698794a4388681debc336e03 (diff) |
Canonicalization functions were removed already
At b958e2add835d62c0a62edaf9a23ecbbd70a3635
-rwxr-xr-x | tool/leaked-globals | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/leaked-globals b/tool/leaked-globals index 7ed81b1361..d95f3794e8 100755 --- a/tool/leaked-globals +++ b/tool/leaked-globals @@ -49,7 +49,7 @@ IO.foreach("|#{NM} -Pgp #{ARGV.join(' ')}") do |line| next unless /[A-TV-Z]/ =~ t next unless n.sub!(/^#{SYMBOL_PREFIX}/o, "") next if n.include?(".") - next if /\A(?:Init_|InitVM_|RUBY_|ruby_|rb_|[Oo]nig|dln_|mjit_|coroutine_|nu(?:comp|rat)_)/ =~ n + next if /\A(?:Init_|InitVM_|RUBY_|ruby_|rb_|[Oo]nig|dln_|mjit_|coroutine_)/ =~ n next if REPLACE.include?(n) puts col.fail("leaked") if count.zero? count += 1 |