[PATCH] D27604: [Driver] Add compiler option to generate a reproducer

Vassil Vassilev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 9 04:45:29 PST 2016


v.g.vassilev added a comment.

Thanks for working on this, Bruno!

This would be a useful feature to us, too.

I am wondering if there is clearer name than `-gen-reproducer`.

IIUC, the goal is to extract all environment (system) dependent pieces, copying them to a folder where the compiler can be chroot-ed (via `-isysroot`). In some sense, what we do seems close to what `-header-include-file list_of_includes.txt` does and additionally copying the contents of the list_of_includes.txt (and possibly mounting a vfs overlay).


https://reviews.llvm.org/D27604





More information about the cfe-commits mailing list