aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorDaniel Rodríguez Troitiño <danielrodriguez@fb.com>2022-11-22 15:12:27 -0800
committerDaniel Rodríguez Troitiño <danielrodriguez@fb.com>2022-11-22 17:44:46 -0800
commit42ad9bf95fd5cb30e2ab3e017b6718ac6efea1be (patch)
tree7f860bfb0ae0325ac90754afeb420dd15f7b1283 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent7218103bcaca36be0287172a91ae2907ca20930c (diff)
downloadllvm-42ad9bf95fd5cb30e2ab3e017b6718ac6efea1be.zip
llvm-42ad9bf95fd5cb30e2ab3e017b6718ac6efea1be.tar.gz
llvm-42ad9bf95fd5cb30e2ab3e017b6718ac6efea1be.tar.bz2
[MachO] Support exports trie in both LC_DYLD_INFO and LC_DYLD_EXPORTS_TRIE
The exports trie used to be pointed by the information in LC_DYLD_INFO, but when chained fixups are present, the exports trie is pointed by LC_DYLD_EXPORTS_TRIE instead. Modify the Object library to give access to the information pointed by each of the load commands, and to fallback from one into the other when the exports are requested. Modify ObjectYAML to support dumping the export trie when pointed by LC_DYLD_EXPORTS_TRIE and to parse the existence of a export trie also when the load command is present. This is a split of D134250 with improvements on top. Reviewed By: alexander-shaposhnikov Differential Revision: https://reviews.llvm.org/D134571
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions