When listing unexported symbols, disable asm for now.

This removes symbols that will need a different method of prefixing than
a C++ namespace.

Bug: 42220000
Change-Id: I867189680b4b6a581c58f6ab8eb36f176198f7f1
Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/86287
Commit-Queue: Rudolf Polzer <rpolzer@google.com>
Reviewed-by: Xiangfei Ding <xfding@google.com>
diff --git a/util/list_unintended_exported_symbols.sh b/util/list_unintended_exported_symbols.sh
index 302b7b3..0286372 100755
--- a/util/list_unintended_exported_symbols.sh
+++ b/util/list_unintended_exported_symbols.sh
@@ -34,7 +34,10 @@
 }
 
 source_to_ast() {
+	# Note: for now not including any symbols defined by asm functions.
+	# The full story for those still needs to be figured out.
 	clang++ \
+		-DOPENSSL_NO_ASM \
 		-Iinclude \
 		-Ithird_party/benchmark/include \
 		-Ithird_party/googletest/googlemock/include \