| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-10-29 | Rollup merge of #78462 - danielframpton:fixnullisa, r=nagisa | Jonas Schievink | -1/+1 | |
| Use unwrapDIPtr because the Scope may be null. I ran into an assertion when using debug information on Windows with LLVM assertions enabled. It seems like we are using unwrap here (which in turn calls isa and requires the pointer to be non-null) but we expect the value to be null because that is what we are passing from rustc. This change uses unwrapDIPtr which explicitly allows nullptr. The FFI prototype for this method on the rust side has the `LLVMMetadataRef` parameter as `Scope: Option<&'a DIScope>`, and we always pass `None` when `msvc_like_names` is true. | ||||
| 2020-10-27 | Use unwrapDIPtr because the Scope may be passed as None | Daniel Frampton | -1/+1 | |
| 2020-10-21 | rustc_codegen_llvm: avoid converting between DILocation and Value. | Eduard-Mihai Burtescu | -4/+4 | |
| 2020-10-21 | rustc_codegen_llvm: move DISubprogram creation to a dbg_scope_fn method. | Eduard-Mihai Burtescu | -2/+3 | |
| 2020-09-30 | Update LLVM and add Unsupported diagnostic | Hugues de Valon | -0/+3 | |
| Secure entry functions do not support if arguments are passed on the stack. An "unsupported" diagnostic will be emitted by LLVM if that is the case. This commits adds support in Rust for that diagnostic so that an error will be output if that is the case! Signed-off-by: Hugues de Valon <hugues.devalon@arm.com> | ||||
| 2020-09-09 | Move `rustllvm` into `rustc_llvm` | Vadim Petrochenkov | -0/+1721 | |
