Mesa (master): symbols-check: ignore exported C++ symbols
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Sun Oct 13 17:05:16 UTC 2019
Module: Mesa
Branch: master
Commit: f1c22390f78589603df35efaf1c0102c4ac814b2
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f1c22390f78589603df35efaf1c0102c4ac814b2
Author: Eric Engestrom <eric.engestrom at intel.com>
Date: Sun Aug 4 00:27:05 2019 +0100
symbols-check: ignore exported C++ symbols
Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
---
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 = [
More information about the mesa-commit
mailing list