about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-11-24 08:42:33 +0100
committerGitHub <noreply@github.com>2022-11-24 08:42:33 +0100
commit1e0df8827b575c2910fae7edd1f920723cb3ee81 (patch)
treeabf89606404f64af824d7718fac67990cd22112b /compiler/rustc_codegen_llvm/src
parent5197ef66b72180f39ed1e6cbf246350246a557ad (diff)
parent693c6311f06bf49ff0fd7b972d769634e4b330b1 (diff)
downloadrust-1e0df8827b575c2910fae7edd1f920723cb3ee81.tar.gz
rust-1e0df8827b575c2910fae7edd1f920723cb3ee81.zip
Rollup merge of #104517 - dfordivam:patch-1, r=cuviper
Throw error on failure in loading llvm-plugin

The following code silently ignores the error as the `LLVMRustSetLastError` only tracks one error at a time. At all other places where `LLVMRustSetLastError` is used the code immediately returns.

https://github.com/rust-lang/rust/blob/251831ece9601d64172127b6caae9087358c2386/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp#L801-L804
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions