rust/compiler/rustc_llvm
Kyle Huey 1dc106121b Add discriminators to DILocations when multiple functions are inlined into a single point.
LLVM does not expect to ever see multiple dbg_declares for the same variable at the same
location with different values. proc-macros make it possible for arbitrary code,
including multiple calls that get inlined, to happen at any given location in the source
code. Add discriminators when that happens so these locations are different to LLVM.

This may interfere with the AddDiscriminators pass in LLVM, which is added by the
unstable flag -Zdebug-info-for-profiling.

Fixes #131944
2024-11-09 08:01:31 -08:00
..
llvm-wrapper Add discriminators to DILocations when multiple functions are inlined into a single point. 2024-11-09 08:01:31 -08:00
src Make RustString an extern type to avoid improper_ctypes warnings 2024-11-09 11:07:44 +11:00
build.rs
Cargo.toml Unpin cc and upgrade to the latest version 2024-09-30 13:31:42 -04:00