summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2019-08-04 00:27:05 +0100
committerEric Engestrom <[email protected]>2019-10-13 17:40:43 +0100
commitf1c22390f78589603df35efaf1c0102c4ac814b2 (patch)
tree74402a116e49b3fa520a9a953a539bb120df4608 /bin
parent35e92a11ddb1450571afc2d66286b97098d486a1 (diff)
symbols-check: ignore exported C++ symbols
Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'bin')
-rw-r--r--bin/symbols-check.py4
1 files changed, 4 insertions, 0 deletions
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 = [