From f1c22390f78589603df35efaf1c0102c4ac814b2 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Sun, 4 Aug 2019 00:27:05 +0100 Subject: [PATCH] symbols-check: ignore exported C++ symbols Signed-off-by: Eric Engestrom Reviewed-by: Bas Nieuwenhuizen --- bin/symbols-check.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/symbols-check.py b/bin/symbols-check.py index 329ca5f46a0..47305919634 100644 --- a/bin/symbols-check.py +++ b/bin/symbols-check.py @@ -109,6 +109,10 @@ def main(): continue if symbol in optional_symbols: continue + if symbol[:2] == '_Z': + # Ignore random C++ symbols + #TODO: figure out if there's any way to avoid exporting them in the first place + continue unknown_symbols.append(symbol) missing_symbols = [ -- 2.30.2