[all-commits] [llvm/llvm-project] d64bad: [lld/macho] Fixes the -ObjC flag

Tapan Thaker via All-commits all-commits at lists.llvm.org
Wed May 11 17:03:49 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d64bad8ff12611a3c79420a895df19c23fe86ae0
      https://github.com/llvm/llvm-project/commit/d64bad8ff12611a3c79420a895df19c23fe86ae0
  Author: Tapan Thaker <tapanth at uber.com>
  Date:   2022-05-11 (Wed, 11 May 2022)

  Changed paths:
    M lld/MachO/ObjC.cpp
    M lld/test/MachO/objc.s

  Log Message:
  -----------
  [lld/macho] Fixes the -ObjC flag

When checking the segment name for Swift symbols, we should be checking that they start with `__swift` instead of checking for equality

Fixes the issue https://github.com/llvm/llvm-project/issues/55355

Reviewed By: #lld-macho, keith, thevinster

Differential Revision: https://reviews.llvm.org/D125250




More information about the All-commits mailing list