diff options
| author | klutzy <klutzytheklutzy@gmail.com> | 2014-03-06 23:57:31 +0900 |
|---|---|---|
| committer | klutzy <klutzytheklutzy@gmail.com> | 2014-03-07 00:18:32 +0900 |
| commit | f6afd40fc11a45e3c9b86ea101362a1b579d9283 (patch) | |
| tree | 9d11b0fb59bd94fb8b2d820e1624f6c76211b427 /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | 0a7b06e955cd3f1c520ec3c2a34a2464f08a46f6 (diff) | |
| download | rust-f6afd40fc11a45e3c9b86ea101362a1b579d9283.tar.gz rust-f6afd40fc11a45e3c9b86ea101362a1b579d9283.zip | |
rustc: Get LLVM error message safely
On Windows, `LLVMRustGetLastError()` may return non-utf8 mojibake string if system uses non-English locale. It caused ICE when llvm fails. This patch doesn't fix the real problem, but just make rustc not die.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
