diff options
author | Douglas Gregor <dgregor@apple.com> | 2013-01-14 18:28:43 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2013-01-14 18:28:43 +0000 |
commit | 5d75ea72d6eee3df0c6acdb282145dc4cc3a9a1b (patch) | |
tree | 240ca7fd2df2161f0fa7a1aafbead9e108a6e331 /lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp | |
parent | 8767dc29ec23f96e71658f760333bdf5d87283d5 (diff) |
Switch autolinking metadata format over to actual linker options, e.g.,
!0 = metadata !{metadata !"-lautolink"}
!1 = metadata !{metadata !"-framework", metadata !"autolink_framework"}
referenced from llvm.module.linkoptions, e.g.,
!llvm.module.linkoptions = !{!0, !1, !2, !3}
This conceptually moves the logic for figuring out the syntax the
linker will accept from LLVM into Clang. Moreover, it makes it easier
to support MSVC's
#pragma comment(linker, "some option")
in the future, should anyone care to do so.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172441 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp')
0 files changed, 0 insertions, 0 deletions