[all-commits] [llvm/llvm-project] 005456: [lld-macho] Fix an assertion failure when -u speci...

Fangrui Song via All-commits all-commits at lists.llvm.org
Thu Nov 4 21:28:46 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 005456e5fc67f05a3df8f099f3856c6ac049304f
      https://github.com/llvm/llvm-project/commit/005456e5fc67f05a3df8f099f3856c6ac049304f
  Author: Fangrui Song <i at maskray.me>
  Date:   2021-11-04 (Thu, 04 Nov 2021)

  Changed paths:
    M lld/MachO/MarkLive.cpp
    M lld/test/MachO/start-end.s

  Log Message:
  -----------
  [lld-macho] Fix an assertion failure when -u specifies an undefined section$start symbol

This matches ld64. Also improve the test for `-dead_strip`.

Reviewed By: #lld-macho, Jez Ng

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




More information about the All-commits mailing list