symbols-check: ignore exported C++ symbols
authorEric Engestrom <eric.engestrom@intel.com>
Sat, 3 Aug 2019 23:27:05 +0000 (00:27 +0100)
committerEric Engestrom <eric.engestrom@intel.com>
Sun, 13 Oct 2019 16:40:43 +0000 (17:40 +0100)
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
bin/symbols-check.py

index 329ca5f46a06f55c9d6717dbb4245595a1504101..47305919634c68751c6a38e5c91e663b4769d5d6 100644 (file)
@@ -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 = [