]> granicus.if.org Git - clang/commit
Fix auto-link for text-based dynamic library SDKs.
authorJuergen Ributzka <juergen@apple.com>
Fri, 13 Nov 2015 19:08:07 +0000 (19:08 +0000)
committerJuergen Ributzka <juergen@apple.com>
Fri, 13 Nov 2015 19:08:07 +0000 (19:08 +0000)
commitc52d1cea049ddd9225380d94defb72fcd081e88c
treea1af1a46bdaa2a5f50b2811105956f7e140d75c5
parent2b9fa800d66f4072ff7f821113e51c9be0358905
Fix auto-link for text-based dynamic library SDKs.

When linking against text-based dynamic library SDKs the library name of a
framework has now more than one possible filename extensions. This fix tests for
both possible extensions (none, and .tbd).

This fixes rdar://problem/20609975

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@253060 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Lex/ModuleMap.cpp
test/Modules/Inputs/AutolinkTBD.framework/AutolinkTBD.tbd [new file with mode: 0644]
test/Modules/Inputs/AutolinkTBD.framework/Headers/AutolinkTBD.h [new file with mode: 0644]
test/Modules/autolinkTBD.m [new file with mode: 0644]