[swift-users] Swift Package Manager: Linker Flags

Stephen Celis stephen.celis at gmail.com
Mon Feb 22 12:14:29 CST 2016


> On Feb 22, 2016, at 1:06 PM, Max Howell <max.howell at apple.com> wrote:
> 
> Possibly LLVMGetGlobalContext is not a real symbol?
> 
> If it is a #define then it will not always get mapped by swiftc to the same symbol in Swift.

Hm, it definitely appears to be there:

  ~ $ nm -g /usr/local/opt/llvm/lib/libLLVMCore.a | grep LLVMGetGlobalContext
  0000000000000081 T _LLVMGetGlobalContext

And the matching header definition:

  ~ $ grep LLVMGetGlobalContext /usr/local/opt/llvm/include/llvm-c/Core.h
  LLVMContextRef LLVMGetGlobalContext(void);

Stephen

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20160222/fa96dcea/attachment.html>


More information about the swift-users mailing list