diff options
| author | bors <bors@rust-lang.org> | 2017-10-13 01:33:34 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-10-13 01:33:34 +0000 |
| commit | 91eb6fe56d6df4a66f11bd3e79f08f74aacbd164 (patch) | |
| tree | ebae2beef00e4556e452c40a60cd2f3032867577 /src/rustllvm/RustWrapper.cpp | |
| parent | 64ee7d1399c0af3cc41aacfa56b6a031b89653f0 (diff) | |
| parent | 54d63a0d3380758ae359995330fb64ccdd79069a (diff) | |
| download | rust-91eb6fe56d6df4a66f11bd3e79f08f74aacbd164.tar.gz rust-91eb6fe56d6df4a66f11bd3e79f08f74aacbd164.zip | |
Auto merge of #45013 - chrisvittal:mir_pretty_printing_pr, r=nikomatsakis
Extend mir dump to dump each region Building on #44878, implement the feature discussed in #44872. Through discussions on the WG-nll-gitter, @nikomatsakis and I decided to implement this by extending `dump_mir` and all functions that it calls to take a callback of signature `FnMut(PassWhere, &mut Write) -> io::Result<()>` where `PassWhere` is an enum that represents possible locations that we may want to print out extra data in the process of dumping the MIR. I'm not particularly wedded to the name `PassWhere`, but I felt that simply calling the enum `Where` wasn't the right thing to name it. This work depends strongly on #44878, and should be rebased on the final version of that tree, whatever that may be.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
