This change adds support for dsymutil to be able to dump out the new swift5 reflection sections called "swift5_proto and swift5_protos". The test is also updated to check for this.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM with one question inline.
llvm/include/llvm/BinaryFormat/Swift.def | ||
---|---|---|
29 | Is the protocs name one you came up with or does the Swift compiler use that too? It seems protos without the c would be closer to the actual section name, but if the Swift compiler uses protocs, we should use that here, too. | |
llvm/test/tools/dsymutil/X86/reflection-dump.test | ||
47 | Test looks good! |
llvm/include/llvm/BinaryFormat/Swift.def | ||
---|---|---|
29 | This is the name that was in /Users/shubham/Development/apple/swift/include/swift/ABI/ObjectFile.h I did not come up with any names myself. Just used the names that Artem came up with |
Is the protocs name one you came up with or does the Swift compiler use that too? It seems protos without the c would be closer to the actual section name, but if the Swift compiler uses protocs, we should use that here, too.