os-rust/compiler/rustc_codegen_ssa
Matthias Krüger 39761b0cf9
Rollup merge of #111382 - Zalathar:ffi, r=cuviper
Isolate coverage FFI type layouts from their underlying LLVM C++ types

I noticed that several of the types used to send coverage information through FFI are not properly isolated from the layout of their corresponding C++ types in the LLVM API.

This PR adds more explicitly-defined FFI struct/enum types in `CoverageMappingWrapper.cpp`, so that Rust source files in `rustc_codegen_ssa` and `rustc_codegen_llvm` aren't directly exposed to LLVM C++ types.
2023-05-11 07:05:27 +02:00
..
src Rollup merge of #111382 - Zalathar:ffi, r=cuviper 2023-05-11 07:05:27 +02:00
Cargo.toml Fix Unreadable non-UTF-8 output on localized MSVC 2023-04-27 09:58:18 +01:00
messages.ftl Fix static string lints 2023-04-25 18:59:55 +01:00
README.md mv compiler to compiler/ 2020-08-30 18:45:07 +03:00

Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.