[PATCH] D103586: [lld-macho] Parse re-exports of nested TAPI documents
Jez Ng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 2 19:55:29 PDT 2021
int3 created this revision.
int3 added reviewers: lld-macho, thakis.
Herald added a reviewer: gkm.
Herald added a project: lld-macho.
int3 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
D103423 <https://reviews.llvm.org/D103423> neglected to call `parseReexports()` for nested TBD
documents, leading to symbol resolution failures when trying to look up
a symbol nested more than one level deep in a TBD file. This fixes the
regression and adds a test.
It also appears that `umbrella` wasn't being set properly when calling
`parseLoadCommands` -- it's supposed to resolve to `this` if `nullptr`
is passed. I didn't write a failing test case for this but I've made
`umbrella` a member so the previous behavior should be preserved.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D103586
Files:
lld/MachO/DriverUtils.cpp
lld/MachO/InputFiles.cpp
lld/MachO/InputFiles.h
lld/test/MachO/tapi-link.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103586.349442.patch
Type: text/x-patch
Size: 6629 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210603/d311f086/attachment.bin>
More information about the llvm-commits
mailing list