[PATCH] D78888: [llvm-objcopy][MachO] Fix symbol table
Alexander Shaposhnikov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 28 01:02:12 PDT 2020
alexshap added a comment.
@jhenderson - as i mentioned above in the summary of the diff (and in the comment as well) (see also https://developer.apple.com/documentation/kernel/nlist_64/1583944-n_type?language=objc) for STABs the value of n_type is interpreted differently, in particular, those bitmasks (N_EXT/N_PEXT) are meaningless (to the best of my knowledge, unless I'm missing smth). Given that STABs are generated by the compiler one would have to manually modify the symbol in YAML, so perhaps this is doable (though indeed this looks a bit artificial)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D78888/new/
https://reviews.llvm.org/D78888
More information about the llvm-commits
mailing list