[lld] [lld-macho] Implement support for ObjC relative method lists (PR #86231)
Kyungwoo Lee via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 25 10:13:57 PDT 2024
================
@@ -1292,6 +1292,8 @@ template <class LP> void Writer::run() {
scanSymbols();
if (in.objcStubs->isNeeded())
in.objcStubs->setUp();
+ if (in.objcMethList)
----------------
kyulee-com wrote:
I'm seeing `objMethList` is initialized with nullptr and set conditionally, but it's a global, so won't it be trouble when LLD is used as a library? I'd use `isNeeded()` similar to other cases.
https://github.com/llvm/llvm-project/pull/86231
More information about the llvm-commits
mailing list