diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2014-05-21 22:21:11 +1000 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2014-05-21 22:41:23 +1000 |
| commit | feb91f3216c7a60c9f7da582b3a02551fe73bb40 (patch) | |
| tree | ba8bcfb15e80b453337127a5373a875cba90a2a2 /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | dd5365af2c4281f2808ffa35faf6f53411814267 (diff) | |
| download | rust-feb91f3216c7a60c9f7da582b3a02551fe73bb40.tar.gz rust-feb91f3216c7a60c9f7da582b3a02551fe73bb40.zip | |
rustc: improve error messages from wrong --pretty flowgraph use.
This defers to .fatal and .span_fatal for errors (rather than `fail!` which prints the ICE message). It also adds the span lookup when an id doesn't correspond to a block, to show what it is pointing at. It also makes the argument parser slightly looser, so that passing `--pretty flowgraph` recognises the `flowgraph` part and suggests to use an integer.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
