diff options
| author | Benjamin Herr <ben@0x539.de> | 2016-03-24 00:35:26 +0100 |
|---|---|---|
| committer | Benjamin Herr <ben@0x539.de> | 2016-03-31 22:04:23 +0200 |
| commit | fc7ec6b61438f5a7fef5afd4830f009acd02d8f2 (patch) | |
| tree | ee6363c077b024d01f17a54f7cbb47dbd9e329d6 /src/rustllvm/RustWrapper.cpp | |
| parent | 3399d19a2c9503d991e4a315118b2d6146f66046 (diff) | |
| download | rust-fc7ec6b61438f5a7fef5afd4830f009acd02d8f2.tar.gz rust-fc7ec6b61438f5a7fef5afd4830f009acd02d8f2.zip | |
librustc: add {span_,}bug! macros
... as single "internal compiler error" entry point. The macros pass `file!()`, `line!()` and `format_args!(...)` on to a cold, never-inlined function, ultimately calling `bug()` or `span_bug()` on the `Handler` from `session::diagnostic()` via the tcx in tls or, failing that, panicking directly.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
