rust/compiler/rustc_codegen_llvm/src
bors 8575f8f91b Auto merge of #104342 - mweber15:add_file_location_to_more_types, r=wesleywiser
Require `type_map::stub` callers to supply file information

This change attaches file information (`DIFile` reference and line number) to struct debug info nodes.

Before:

```
; foo.ll
...
!5 = !DIFile(filename: "<unknown>", directory: "")
...
!16 = !DICompositeType(tag: DW_TAG_structure_type, name: "MyType", scope: !2, file: !5, size: 32, align: 32, elements: !17, templateParams: !19, identifier: "4cb373851db92e732c4cb5651b886dd0")
...
```

After:

```
; foo.ll
...
!3 = !DIFile(filename: "foo.rs", directory: "/home/matt/src/rust98678", checksumkind: CSK_SHA1, checksum: "bcb9f08512c8f3b8181ef4726012bc6807bc9be4")
...
!16 = !DICompositeType(tag: DW_TAG_structure_type, name: "MyType", scope: !2, file: !3, line: 3, size: 32, align: 32, elements: !17, templateParams: !19, identifier: "9e5968c7af39c148acb253912b7f409f")
...
```

Fixes #98678

r? `@wesleywiser`
2024-12-03 12:49:57 +00:00
..
back Use c"lit" for CStrings without unwrap 2024-12-02 18:16:36 +00:00
coverageinfo coverage: Use a query to identify which counter/expression IDs are used 2024-11-30 00:58:48 +11:00
debuginfo Auto merge of #104342 - mweber15:add_file_location_to_more_types, r=wesleywiser 2024-12-03 12:49:57 +00:00
llvm Respect verify-llvm-ir option in the backend 2024-11-26 15:26:03 +01:00
abi.rs compiler: Directly use rustc_abi in codegen 2024-11-03 12:30:32 -08:00
allocator.rs Clean up FFI calls for operand bundles 2024-10-30 13:26:24 +11:00
asm.rs Support floats in input/output in vector registers of PowerPC inline assembly 2024-11-29 03:10:07 +09:00
attributes.rs Rollup merge of #132259 - mrkajetanp:branch-protection-pauth-lr, r=davidtwco 2024-11-05 20:10:49 +01:00
base.rs Allow disabling ASan instrumentation for globals 2024-11-02 22:35:34 +01:00
builder.rs use TypingEnv when no infcx is available 2024-11-18 10:38:56 +01:00
callee.rs Share inline(never) generics across crates 2024-11-28 13:43:05 -05:00
common.rs Clean up FFI calls for operand bundles 2024-10-30 13:26:24 +11:00
consts.rs Rollup merge of #127483 - BertalanD:no_sanitize-global-var, r=rcvalle 2024-11-23 20:19:51 +08:00
context.rs coverage: Rename CrateCoverageContext to CguCoverageContext 2024-11-30 00:54:53 +11:00
declare.rs Use a type-safe helper to cast &str and &[u8] to *const c_char 2024-10-28 21:31:32 +11:00
errors.rs mark some target features as 'forbidden' so they cannot be (un)set 2024-11-04 22:56:47 +01:00
intrinsic.rs Add simd_relaxed_fma intrinsic 2024-11-23 14:39:42 -05:00
lib.rs Revert "Rollup merge of #133418 - Zalathar:spans, r=jieyouxu" 2024-11-29 14:57:01 +11:00
llvm_util.rs target_features: explain what exacty 'implied' means here 2024-11-11 07:33:39 +01:00
mono_item.rs use TypingEnv when no infcx is available 2024-11-18 10:38:56 +01:00
type_.rs compiler: Directly use rustc_abi in codegen 2024-11-03 12:30:32 -08:00
type_of.rs compiler: rustc_abi::Abi => BackendRepr 2024-10-29 14:56:00 -07:00
va_arg.rs compiler: Directly use rustc_abi in codegen 2024-11-03 12:30:32 -08:00
value.rs Add warn(unreachable_pub) to rustc_codegen_llvm. 2024-08-16 08:46:57 +10:00