about summary refs log tree commit diff
path: root/tests/ui/debuginfo/debuginfo-inline-callsite-location-macro-2.rs
AgeCommit message (Collapse)AuthorLines
2024-11-19When the required discriminator value exceeds LLVM's limits, drop the debug ↵Kyle Huey-0/+4122
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.