diff options
| author | Felix S. Klock II <pnkfelix@pnkfx.org> | 2014-12-17 13:37:26 +0100 |
|---|---|---|
| committer | Felix S. Klock II <pnkfelix@pnkfx.org> | 2014-12-22 16:06:22 +0100 |
| commit | 41def27bda80eb5e1b3bfa75d34fd4f9e31e0988 (patch) | |
| tree | bbef161ea1145e345fb5ee7e3d62241e13db4da9 /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | e711e2d89b4ad588d1f7225288b714f0b751cf7d (diff) | |
| download | rust-41def27bda80eb5e1b3bfa75d34fd4f9e31e0988.tar.gz rust-41def27bda80eb5e1b3bfa75d34fd4f9e31e0988.zip | |
Add `--pretty everybody_loops` option.
This prints out a transformed version of the input source code where
every function body is replaced with `loop { }`.
All such bodies are (1.) trivial and (2.) guaranteed to pass the
type-checker in a valid compiler; therefore they make very nice input
to start with when narrowing down a bug exposed by a large test input
(such as librustc itself).
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
