зеркало из https://github.com/github/ruby.git
Ignore _odr_asan symbols in leaked-globals
ASAN includes these to detect violations of the ODR rule. [Bug #20221]
This commit is contained in:
Родитель
42c3626940
Коммит
565ef06e91
|
@ -88,6 +88,7 @@ Pipe.new(NM + ARGV).each do |line|
|
||||||
next unless n.sub!(/^#{SYMBOL_PREFIX}/o, "")
|
next unless n.sub!(/^#{SYMBOL_PREFIX}/o, "")
|
||||||
next if n.include?(".")
|
next if n.include?(".")
|
||||||
next if !so and n.start_with?("___asan_")
|
next if !so and n.start_with?("___asan_")
|
||||||
|
next if !so and n.start_with?("__odr_asan_")
|
||||||
case n
|
case n
|
||||||
when /\A(?:Init_|InitVM_|pm_|[Oo]nig|dln_|coroutine_)/
|
when /\A(?:Init_|InitVM_|pm_|[Oo]nig|dln_|coroutine_)/
|
||||||
next
|
next
|
||||||
|
|
Загрузка…
Ссылка в новой задаче