[PATCH] D26778: Add llvm-modextract tool.

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 23 20:11:40 PST 2016


mehdi_amini accepted this revision.
mehdi_amini added a comment.
This revision is now accepted and ready to land.

LGTM.

In https://reviews.llvm.org/D26778#605102, @pcc wrote:

> > Could we have a cheap way to extract modules without parsing the IR?
>
> Most likely, but it would probably require a change to the bitcode format because we represent the VST offset as an offset from the start of the file rather than the start of the module.


Right I think any relative offset should begin with the module block! I'm fine keeping this as future work.


https://reviews.llvm.org/D26778





More information about the llvm-commits mailing list