rust/compiler/rustc_codegen_ssa
Daniel Paoliello 77a96ed564 Include debug info for the allocator shim
Issue Details:
In some cases it is necessary to generate an "allocator shim" to forward various Rust allocation functions (e.g., `__rust_alloc`) to an underlying function (e.g., `malloc`). However, since this allocator shim is a manually created LLVM module it is not processed via the normal module processing code and so no debug info is generated for it (if debugging info is enabled).

Fix Details:
* Modify the `debuginfo` code to allow creating debug info for a module without a `CodegenCx` (since it is difficult, and expensive, to create one just to emit some debug info).
* After creating the allocator shim add in basic debug info.
2021-08-31 15:24:20 -07:00
..
src Include debug info for the allocator shim 2021-08-31 15:24:20 -07:00
Cargo.toml Update the backtrace crate in libstd 2021-08-19 07:31:49 -07:00
README.md

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