diff options
author | Denis Protivensky <dprotivensky@accesssoftek.com> | 2015-03-14 10:34:43 +0000 |
---|---|---|
committer | Denis Protivensky <dprotivensky@accesssoftek.com> | 2015-03-14 10:34:43 +0000 |
commit | cd617155649c9f4220e90ea774f21d8e1f35844e (patch) | |
tree | da70dcd2f02fd298fe4d962b6a26fd10d0ad9054 /lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp | |
parent | 46fa9b7b1e0b7ba1b76db1a6c28060bd19814492 (diff) | |
download | bcm5719-llvm-cd617155649c9f4220e90ea774f21d8e1f35844e.tar.gz bcm5719-llvm-cd617155649c9f4220e90ea774f21d8e1f35844e.zip |
[ELF] Ability to resolve undefined symbols lazily
Handle resolution of symbols coming from linked object files lazily.
Add implementation of handling _GLOBAL_OFFSET_TABLE_ and __exidx_start/_end symbols for ARM platform.
Differential Revision: http://reviews.llvm.org/D8159
llvm-svn: 232261
Diffstat (limited to 'lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp')
-rw-r--r-- | lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp b/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp index e68d1da55be..92385cf3e82 100644 --- a/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp +++ b/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp @@ -955,7 +955,7 @@ static bool isLibrary(const std::unique_ptr<Node> &elem) { // comes before any library file. We also make a group for the library files // so that the Resolver will reiterate over the libraries as long as we find // new undefines from libraries. -void MachOLinkingContext::maybeSortInputFiles() { +void MachOLinkingContext::finalizeInputFiles() { std::vector<std::unique_ptr<Node>> &elements = getNodes(); std::stable_sort(elements.begin(), elements.end(), [](const std::unique_ptr<Node> &a, |