[all-commits] [llvm/llvm-project] 5cb7e4: [lld-macho] Fix -no_objc_category_merging flag (#9...

alx32 via All-commits all-commits at lists.llvm.org
Wed Jul 10 14:37:26 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5cb7e49e737fefb245c7988502e5033d0eb15201
      https://github.com/llvm/llvm-project/commit/5cb7e49e737fefb245c7988502e5033d0eb15201
  Author: alx32 <103613512+alx32 at users.noreply.github.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M lld/MachO/Driver.cpp
    M lld/test/MachO/objc-category-merging-complete-test.s

  Log Message:
  -----------
  [lld-macho] Fix -no_objc_category_merging flag (#98238)

`-no_objc_category_merging` flag was behaving like
`-objc_category_merging` - i.e. acting to enable category merging.
This is because we were using `hasArg` instead of `hasFlag` to test for
it. Fix this and add test to ensure it behaves as expected.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list