[lld] [lld-macho] icf objc stubs (PR #79730)

Kyungwoo Lee via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 29 23:47:53 PST 2024


================
@@ -894,8 +940,22 @@ void ObjCStubsSection::writeTo(uint8_t *buf) const {
   uint64_t stubOffset = 0;
   for (size_t i = 0, n = symbols.size(); i < n; ++i) {
     Defined *sym = symbols[i];
+    uint64_t selBaseAddr;
+    uint64_t selIndex;
+
+    auto methname = getMethName(sym);
----------------
kyulee-com wrote:

I changed it to getMethname in the previous PR https://github.com/llvm/llvm-project/pull/79726.

https://github.com/llvm/llvm-project/pull/79730


More information about the llvm-commits mailing list