Do not process .objtxt file twice.
authorRui Ueyama <ruiu@google.com>
Wed, 9 Oct 2013 18:14:23 +0000 (18:14 +0000)
committerRui Ueyama <ruiu@google.com>
Wed, 9 Oct 2013 18:14:23 +0000 (18:14 +0000)
commit85cc66d85ef36f4da21a9d1c443a35f17cd47b27
treee7cfd1c8455ca18d6e371c37b9925c6a286fac5d
parent95d4e6141135cd328793c7601a3946d762ad4d34
Do not process .objtxt file twice.

A file with .objtxt extension is parsed in readFile(), but because we did not
propagate that information to the calling side, calling side would try to parse
it again. This patch will fix the issue by adding an extra parameter to
readFile().

llvm-svn: 192311
lld/include/lld/Driver/DarwinInputGraph.h
lld/include/lld/Driver/GnuLdInputGraph.h
lld/include/lld/Driver/InputGraph.h
lld/include/lld/Driver/WinLinkInputGraph.h
lld/lib/Driver/InputGraph.cpp