[Lldb-commits] [PATCH] D12599: Only export public symbols with the cmake build.

Bruce Mitchener via lldb-commits lldb-commits at lists.llvm.org
Thu Sep 3 07:40:50 PDT 2015


brucem created this revision.
brucem added reviewers: emaste, clayborg, labath, chaoren.
brucem added a subscriber: lldb-commits.

This also moves the xcode support files to be near or the same
as the ones used for cmake.

The source/API/liblldb.xcodes.exports differs from the
source/API/liblldb.exports in that one contains the actual
symbol names (_ prefixed) while the other contains the symbol
names as they are in the code. The liblldb.exports file is
preprocessed by the cmake scripts into the correct per-platform
file needed (like a linker script on Linux).

This is not enabled on Windows as Windows doesn't use the same
name mangling and so it won't be valid there. Also, this is handled
already in a different way on Windows (via dll exports).

http://reviews.llvm.org/D12599

Files:
  lldb.xcodeproj/project.pbxproj
  resources/lldb-framework-exports
  source/API/CMakeLists.txt
  source/API/liblldb.exports
  source/API/liblldb.xcode.exports
  tools/argdumper/argdumper.exports
  tools/argdumper/exports
  tools/lldb-mi/lldb-mi.exports
  tools/lldb-server/exports
  tools/lldb-server/lldb-server.exports

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12599.33942.patch
Type: text/x-patch
Size: 5593 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150903/2f384e30/attachment.bin>


More information about the lldb-commits mailing list