diff options
Diffstat (limited to 'lib/Linker/LinkArchives.cpp')
-rw-r--r-- | lib/Linker/LinkArchives.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/Linker/LinkArchives.cpp b/lib/Linker/LinkArchives.cpp index 152b0b1e7b..583e1940ad 100644 --- a/lib/Linker/LinkArchives.cpp +++ b/lib/Linker/LinkArchives.cpp @@ -165,12 +165,7 @@ Linker::LinkInArchive(const sys::Path &Filename) { return error("Cannot link in module '" + aModule->getModuleIdentifier() + "': " + moduleErrorMsg); } - } else { - // (scottm) NOTE: For some reason, Modules.empty() isn't entirely - // accurrate, least with gcc 4.1.2 on Debian and doesn't return true - // when it ought. Consequently, aModule can be NULL -- ignore it for - // the time being, since it seems relatively benign. - } + } } // Get the undefined symbols from the aggregate module. This recomputes the |