summaryrefslogtreecommitdiffstats
path: root/lld/docs/Readers.rst
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2015-01-14 00:21:34 +0000
committerRui Ueyama <ruiu@google.com>2015-01-14 00:21:34 +0000
commitcfb2534ef859268bfaeedb4a59c0599fae452a7a (patch)
tree7184edd088a651b4afe6b5332ce6c5ec4fb8c014 /lld/docs/Readers.rst
parent8efadbf868198022a2fe25fe2d9af9439cedae0b (diff)
downloadbcm5719-llvm-cfb2534ef859268bfaeedb4a59c0599fae452a7a.tar.gz
bcm5719-llvm-cfb2534ef859268bfaeedb4a59c0599fae452a7a.zip
Revert "Convert other drivers to use WrapperNode" and subsequent commits.
r225764 broke a basic functionality on Mac OS. This change reverts r225764, r225766, r225767, r225769, r225814, r225816, r225829, and r225832. llvm-svn: 225859
Diffstat (limited to 'lld/docs/Readers.rst')
-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 6424de93e0c..6ad58e0f848 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 loadFile() method called many times with different input files.
+have its parseFile() 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 loadFile(LinkerInput &input,
- std::vector<std::unique_ptr<File>> &result);
+ virtual error_code parseFile(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