]> granicus.if.org Git - clang/commit
Topologically sort the link options generated for modules based on
authorDouglas Gregor <dgregor@apple.com>
Mon, 14 Jan 2013 20:53:57 +0000 (20:53 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 14 Jan 2013 20:53:57 +0000 (20:53 +0000)
commit858afb3c22144027bcd8ba75e27262eede093a60
tree892e86ebdb6d8e7b082ef193d2ed5c0d17d0757a
parent3baad29d4413e1409fc69a472d374cf5de1d78ec
Topologically sort the link options generated for modules based on
module-import dependencies, so we'll get the link order correct for
those silly linkers that need it.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172459 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenModule.cpp
lib/CodeGen/CodeGenModule.h
test/Modules/autolink.m