[all-commits] [llvm/llvm-project] 9d43c0: [lld/mac] Move handling of special undefineds later
Nico Weber via All-commits
all-commits at lists.llvm.org
Thu Jul 22 08:44:16 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9d43c000e1b8ddbfe4fc69b04fa68088f5d813ce
https://github.com/llvm/llvm-project/commit/9d43c000e1b8ddbfe4fc69b04fa68088f5d813ce
Author: Nico Weber <thakis at chromium.org>
Date: 2021-07-22 (Thu, 22 Jul 2021)
Changed paths:
M lld/MachO/Driver.cpp
M lld/MachO/Writer.cpp
Log Message:
-----------
[lld/mac] Move handling of special undefineds later
treatUndefinedSymbol() was previously called before gatherInputSections()
and markLive() for these special symbols, but after them for normal
undefineds.
For PR50760, treatUndefinedSymbol() will have to potentially create
sections, so it's good to move treatUndefinedSymbol() for special
undefineds later, so that it can assume that gatherInputSections()
and markLive() has already been called always.
No intended behavior change, but part of PR50760 (and covered in
tests in the patch for the full feature).
Differential Revision: https://reviews.llvm.org/D106552
More information about the All-commits
mailing list