Bug 1302891 - Part 5 - Make __cfi_check a global symbol; r?glandium
In some libraries __cfi_check symbol was made local. CFI in LLVM/Clang requires
that __cfi_check is a global symbol (external).
MozReview-Commit-ID: 4p2m5jw0bTK
--- a/build/unix/gnu-ld-scripts/components-version-script
+++ b/build/unix/gnu-ld-scripts/components-version-script
@@ -1,7 +1,8 @@
EXPORTED {
global:
NSModule;
NSGetModule;
__RLD_MAP;
+ __cfi_check;
local: *;
};
--- a/db/sqlite3/src/sqlite.symbols
+++ b/db/sqlite3/src/sqlite.symbols
@@ -152,8 +152,9 @@ sqlite3_version
sqlite3_vfs_find
sqlite3_vfs_unregister
sqlite3_vfs_register
sqlite3_vmprintf
#ifdef DEBUG
sqlite3_mutex_held
sqlite3_mutex_notheld
#endif
+__cfi_check