[all-commits] [llvm/llvm-project] 9f2272: [lld-macho] Allow dead_strip to work with exported...
Vincent Lee via All-commits
all-commits at lists.llvm.org
Fri Apr 22 18:46:27 PDT 2022
Author: Vincent Lee <leevince at fb.com>
Date: 2022-04-22 (Fri, 22 Apr 2022)
[lld-macho] Allow dead_strip to work with exported private extern symbols
It seems like we are overly asserting when running `-dead_strip` with
exported symbols. ld64 treats exported private extern symbols as a liveness
root. Loosen the assert to match ld64's behavior.
Reviewed By: #lld-macho, int3
Differential Revision: https://reviews.llvm.org/D124143
More information about the All-commits