summaryrefslogtreecommitdiffstats
path: root/lld/docs
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2015-01-13 04:33:07 +0000
committerRui Ueyama <ruiu@google.com>2015-01-13 04:33:07 +0000
commite8ecb2b1445a1960a77f4b446987430f46375eb4 (patch)
tree629318f1f5273e770e34a846e291dec6b51c0c5b /lld/docs
parent7cceba5d767a0101303f616c1444142d43faf385 (diff)
downloadbcm5719-llvm-e8ecb2b1445a1960a77f4b446987430f46375eb4.tar.gz
bcm5719-llvm-e8ecb2b1445a1960a77f4b446987430f46375eb4.zip
Convert other drivers to use WrapperNode.
llvm-svn: 225764
Diffstat (limited to 'lld/docs')
-rw-r--r--lld/docs/Readers.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/lld/docs/Readers.rst b/lld/docs/Readers.rst
index 6ad58e0f848..6424de93e0c 100644
--- a/lld/docs/Readers.rst
+++ b/lld/docs/Readers.rst
@@ -66,7 +66,7 @@ Readers are factories
---------------------
The linker will usually only instantiate your Reader once. That one Reader will
-have its parseFile() method called many times with different input files.
+have its loadFile() method called many times with different input files.
To support multithreaded linking, the Reader may be parsing multiple input
files in parallel. Therefore, there should be no parsing state in you Reader
object. Any parsing state should be in ivars of your File subclass or in
@@ -74,8 +74,8 @@ some temporary object.
The key method to implement in a reader is::
- virtual error_code parseFile(LinkerInput &input,
- std::vector<std::unique_ptr<File>> &result);
+ virtual error_code loadFile(LinkerInput &input,
+ std::vector<std::unique_ptr<File>> &result);
It takes a memory buffer (which contains the contents of the object file
being read) and returns an instantiated lld::File object which is
OpenPOWER on IntegriCloud