[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
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9f2272ff51b16ffa9c1056fc707daf088ccca784
https://github.com/llvm/llvm-project/commit/9f2272ff51b16ffa9c1056fc707daf088ccca784
Author: Vincent Lee <leevince at fb.com>
Date: 2022-04-22 (Fri, 22 Apr 2022)
Changed paths:
M lld/MachO/MarkLive.cpp
M lld/test/MachO/export-options.s
Log Message:
-----------
[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
mailing list