diff options
| author | Richo Healey <richo@psych0tik.net> | 2014-10-28 18:58:46 -0700 |
|---|---|---|
| committer | Richo Healey <richo@psych0tik.net> | 2014-10-29 13:49:32 -0700 |
| commit | 89e8caadae53fb0429ee95a5f1e2c07b2adc2728 (patch) | |
| tree | 75562bffcff8f8106ebbf10f2a133de17eb662d8 /src/rustllvm/RustWrapper.cpp | |
| parent | e05c3b7799b45b78baf49f05763865be838f5b43 (diff) | |
| download | rust-89e8caadae53fb0429ee95a5f1e2c07b2adc2728.tar.gz rust-89e8caadae53fb0429ee95a5f1e2c07b2adc2728.zip | |
rustc: fail if LLVM is passed an invalid triple
This changes create_target_machine to correctly return a Result (Since the underlying LLVM function can fail and return NULL)
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
