rust/compiler/rustc_codegen_llvm/src/debuginfo
Kyle Huey f5b023bd9c When the required discriminator value exceeds LLVM's limits, drop the debug info for the function instead of panicking.
The maximum discriminator value LLVM can currently encode is 2^12. If macro use
results in more than 2^12 calls to the same function attributed to the same
callsite, and those calls are MIR-inlined, we will require more than the maximum
discriminator value to completely represent the debug information. Once we reach
that point drop the debug info instead.
2024-11-19 05:19:09 -08:00
..
metadata use TypingEnv when no infcx is available 2024-11-18 10:38:56 +01:00
create_scope_map.rs When the required discriminator value exceeds LLVM's limits, drop the debug info for the function instead of panicking. 2024-11-19 05:19:09 -08:00
doc.md fix most compiler/ doctests 2022-05-02 17:40:30 -07:00
gdb.rs Consistently use safe wrapper function set_section 2024-10-30 11:38:20 +11:00
metadata.rs use TypingEnv when no infcx is available 2024-11-18 10:38:56 +01:00
mod.rs When the required discriminator value exceeds LLVM's limits, drop the debug info for the function instead of panicking. 2024-11-19 05:19:09 -08:00
namespace.rs Use a type-safe helper to cast &str and &[u8] to *const c_char 2024-10-28 21:31:32 +11:00
utils.rs use TypingEnv when no infcx is available 2024-11-18 10:38:56 +01:00