versioner: whitelist atexit, turn on symbol checking by default.
Change-Id: I32e726c74ee618ace3a4329d46408a42732a8d9d
diff --git a/tools/versioner/src/versioner.cpp b/tools/versioner/src/versioner.cpp
index bfee6b9..7238a8c 100644
--- a/tools/versioner/src/versioner.cpp
+++ b/tools/versioner/src/versioner.cpp
@@ -485,12 +485,6 @@
}
for (const std::string& symbol_name : completely_unavailable) {
- // This currently has some false positives (mostly functions that come from crtbegin).
- // Therefore, only report these declarations when running with verbose for now.
- if (!verbose) {
- break;
- }
-
bool found_inline_definition = false;
bool future = false;
@@ -515,6 +509,10 @@
continue;
}
+ if (missing_symbol_whitelist.count(symbol_name) != 0) {
+ continue;
+ }
+
printf("%s: not available in any platform\n", symbol_name.c_str());
failed = true;
}