rust/compiler/rustc_codegen_llvm/src/debuginfo
Martin Nordholts 4edfeb2f60 compiler: Include span of too huge enum with -Cdebuginfo=2
We have a ui test to ensure we emit an error if we encounter too big
enums. Before this fix, compiling the test with `-Cdebuginfo=2` would
not include the span of the instantiation site, because the error is
then emitted from a different code path that does not include the span.

Propagate the span to the error also in the debuginfo case, so the test
passes regardless of debuginfo level.
2025-08-28 20:37:09 +02:00
..
metadata compiler: Include span of too huge enum with -Cdebuginfo=2 2025-08-28 20:37:09 +02:00
create_scope_map.rs Use newtype_index!-generated types more idiomatically 2025-04-14 16:17:06 +00:00
doc.md fix most compiler/ doctests 2022-05-02 17:40:30 -07:00
dwarf_const.rs Use constants for DWARF opcodes, instead of FFI calls 2025-01-05 22:16:25 +11:00
gdb.rs Rename llvm::Bool aliases to standard const case 2025-08-24 23:09:54 +10:00
metadata.rs compiler: Include span of too huge enum with -Cdebuginfo=2 2025-08-28 20:37:09 +02:00
mod.rs compiler: Include span of too huge enum with -Cdebuginfo=2 2025-08-28 20:37:09 +02:00
namespace.rs Rename llvm::Bool aliases to standard const case 2025-08-24 23:09:54 +10:00
utils.rs Introduce DIBuilderBox, an owning pointer to DIBuilder 2025-02-01 13:34:14 +11:00