By default, only the symbol table of an archive file is loaded when a library file is added. The parsing of an individual file in the archive is done when a symbol in the file is actually used. Look for "forceLoadAllArchives" in lib/ReaderWriter/ReaderArchive.cpp. http://llvm-reviews.chandlerc.com/D987