This change would allow llvm-dis to disassemble multi-module bitcode
files, including the associated module summary. This will allow the
disassembler to work with all current bitcode formats transparently.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
The way I imagined this might work is that llvm-dis would write out the modules concatenated with some kind of delimiter between them. Then llvm-as would be taught to expect the same input and produce a multi-module file from it, which would allow an easy way to produce multi-module files. Does that sound like it might work better?
Comment Actions
I like the delimiter approach.
| llvm/test/Assembler/multi-mod-disassemble.ll | ||
|---|---|---|
| 7 | diff -> cmp | |
Comment Actions
I think that is a good approach in the end, but since this is strictly better than the current situation, I wouldn't mind having this in as an interim fix.
| llvm/test/Assembler/multi-mod-disassemble.ll | ||
|---|---|---|
| 7 | Will fix before commit. | |
diff -> cmp