[Webkit-unassigned] [Bug 141989] New: CMake build of libllvmForJSC.so should limit its export list like the Xcode build does
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Feb 24 15:29:00 PST 2015
https://bugs.webkit.org/show_bug.cgi?id=141989
Bug ID: 141989
Summary: CMake build of libllvmForJSC.so should limit its
export list like the Xcode build does
Classification: Unclassified
Product: WebKit
Version: 528+ (Nightly build)
Hardware: All
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: fpizlo at apple.com
Our Xcode build of libllvmForJSC.dylib only exports one symbol. This protects our LLVM instance from having any interaction with other LLVMs that might be linked by the client.
We do it in Configurations/LLVMForJSC.xcconfig:
OTHER_LDFLAGS_HIDE_SYMBOLS = -Wl,-exported_symbol -Wl,_initializeAndGetJSCLLVMAPI -Wl,-all_load;
Looking at libllvmForJSC.so, it's clear that it's exporting the world. I just did an nm on it and there are many symbols with uppercase letter codes, indicating that they are global.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150224/f2855339/attachment-0002.html>
More information about the webkit-unassigned
mailing list