diff options
author | Daniel Bertalan <dani@danielbertalan.dev> | 2022-08-14 15:42:21 +0200 |
---|---|---|
committer | Daniel Bertalan <dani@danielbertalan.dev> | 2022-08-25 17:37:36 +0200 |
commit | 6b6d1abb102161de4c4dacb3df93b73f318fcf79 (patch) | |
tree | 1f2b54e6f794eb1116c18584d2674284e49734df /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 5260146a8a74084f3d38d8bb448ae3c5690b9084 (diff) | |
download | llvm-6b6d1abb102161de4c4dacb3df93b73f318fcf79.zip llvm-6b6d1abb102161de4c4dacb3df93b73f318fcf79.tar.gz llvm-6b6d1abb102161de4c4dacb3df93b73f318fcf79.tar.bz2 |
[lld-macho] Move adding bindings for stub targets out of Writer (NFC)
We now re-use the existing needsBinding() helper to determine if a
branch has to go through a stub. The logic for determining which type of
binding is needed is moved inside StubsSection::addEntry().
This is an NFC refactor that simplifies my diff that adds support for
chained fixups.
Differential Revision: https://reviews.llvm.org/D132476
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions