Details
- Reviewers
smeenai - Group Reviewers
Restricted Project - Commits
- rG8da88d4b605b: [lld-macho] Add test for a variety of arm64 relocations
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
lld/test/MachO/arm64-relocs.s | ||
---|---|---|
5 | wouldn't llvm-objdump --syms --macho -d --section=__const %t be sufficient ? (+ reordering the checks) |
lld/test/MachO/arm64-relocs.s | ||
---|---|---|
5 | I find it more natural to have the symbol table first, since everything is defined exactly once there. If OTOH the __const data was first, then we would have the first matching line defining BAZ and the second line checking that the value matches, which seems kind of misleading when we're really matching on the same output | |
20–21 | (the comment above was talking about these two lines in particular) |
address comments
lld/test/MachO/arm64-relocs.s | ||
---|---|---|
46 | Nope. From further investigation, it seems that UNSIGNED section relocations are only generated for compact unwind sections in arm64. So to test that case, I'll extend the compact unwind test to cover arm64. |
wouldn't llvm-objdump --syms --macho -d --section=__const %t be sufficient ? (+ reordering the checks)