Previously, we only checked for those references when doing
--strip-all, but not when doing --discard-all. I believe that this
didn't cause issues with ld64-generated binaries as they did not create
indirect symbol references to local symbols (which --discard-all
removes). However LLD does emit these, exposing the issue.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo