Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[lld-macho][objc] Don't crash when rodata isn't statically linked
We were previously assuming that to hold, but it appears that `swiftc` may generate classes that link against `__objc_empty_cache` for their rodata pointer. This should allow us to re-land {D142916} (as a stack). Reviewed By: #lld-macho, oontvoo Differential Revision: https://reviews.llvm.org/D147229
- Loading branch information
Showing
2 changed files
with
48 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters