From f8a164371409bd2afb799bd11514ece943cc0fdd Mon Sep 17 00:00:00 2001 From: Andrew Noyes Date: Fri, 4 Oct 2024 16:05:35 -0700 Subject: [PATCH] Make exporting ___asan_globals_registered optional --- test_symbols.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_symbols.sh b/test_symbols.sh index f6c41e3..3a8fcc6 100755 --- a/test_symbols.sh +++ b/test_symbols.sh @@ -4,7 +4,7 @@ set -euo pipefail # ./test_symbols.sh -diff -u <(sort < "$2") <(nm "$1" | grep " T " | cut -f3 -d " " | sort) +diff -u <(sort < "$2" | grep -v ___asan_globals_registered) <(nm "$1" | grep " T " | cut -f3 -d " " | sort) ec=0 for symbol in $(nm "$1" | grep " U " | sed 's/ U //') ; do if ! grep --fixed-strings "$symbol" "$3" > /dev/null ; then