summaryrefslogtreecommitdiffstats
path: root/lld/ELF/Driver.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2017-05-03 23:10:33 +0000
committerRui Ueyama <ruiu@google.com>2017-05-03 23:10:33 +0000
commitb201a20eabd5292b2b4a2b0948eb26330d5da65b (patch)
treea1500989776eeb7caa86f55295bb416e80d7a934 /lld/ELF/Driver.cpp
parent6b3940a4b3a01f2a276372aa2d824da19add8b68 (diff)
downloadbcm5719-llvm-b201a20eabd5292b2b4a2b0948eb26330d5da65b.tar.gz
bcm5719-llvm-b201a20eabd5292b2b4a2b0948eb26330d5da65b.zip
Remove a comment that is no longer true.
llvm-svn: 302090
Diffstat (limited to 'lld/ELF/Driver.cpp')
-rw-r--r--lld/ELF/Driver.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lld/ELF/Driver.cpp b/lld/ELF/Driver.cpp
index ac0e28dfa08..b3f03677ad7 100644
--- a/lld/ELF/Driver.cpp
+++ b/lld/ELF/Driver.cpp
@@ -152,8 +152,7 @@ static getArchiveMembers(MemoryBufferRef MB) {
return V;
}
-// Opens and parses a file. Path has to be resolved already.
-// Newly created memory buffers are owned by this driver.
+// Opens a file and create a file object. Path has to be resolved already.
void LinkerDriver::addFile(StringRef Path, bool WithLOption) {
using namespace sys::fs;
OpenPOWER on IntegriCloud