summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Engestrom <eric.engestrom@intel.com>2019-08-04 00:27:05 +0100
committerEric Engestrom <eric.engestrom@intel.com>2019-10-13 17:40:43 +0100
commitf1c22390f78589603df35efaf1c0102c4ac814b2 (patch)
tree74402a116e49b3fa520a9a953a539bb120df4608
parent35e92a11ddb1450571afc2d66286b97098d486a1 (diff)
symbols-check: ignore exported C++ symbols
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
-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 = [