| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-01-11 | Move /src/test to /tests | Albert Larsan | -131/+0 | |
| 2022-12-08 | Don't generate pointer loads to spills unless necessary | Wesley Wiser | -0/+20 | |
| In order for LLVM to correctly generate debuginfo for msvc, we sometimes need to spill arguments to the stack and perform some direct & indirect offsets into the value. Previously, this code always performed those actions, even when not required as LLVM would clean it up during optimization. However, when MIR inlining is enabled, this can cause problems as the operations occur prior to the spilled value being initialized. To solve this, we first calculate the necessary offsets using just the type which is side-effect free and does not alter the LLVM IR. Then, if we are in a situation which requires us to generate the LLVM IR (and this situation only occurs for arguments, not local variables) then we perform the same calculation again, this time generating the appropriate LLVM IR as we go. | ||||
| 2022-08-18 | session: stabilize split debuginfo on linux | David Wood | -1/+2 | |
| Stabilize the `-Csplit-debuginfo` flag... - ...on Linux for all values of the flag. Split DWARF has been implemented for a few months, hasn't had any bug reports and has had some promising benchmarking for incremental debug build performance. - ..on other platforms for the default value. It doesn't make any sense that `-Csplit-debuginfo=packed` is unstable on Windows MSVC when that's the default behaviour, but keep the other values unstable. Signed-off-by: David Wood <david.wood@huawei.com> | ||||
| 2022-03-18 | Auto merge of #95056 - Dylan-DPC:rollup-swtuw2n, r=Dylan-DPC | bors | -0/+44 | |
| Rollup of 10 pull requests Successful merges: - #91133 (Improve `unsafe` diagnostic) - #93222 (Make ErrorReported impossible to construct outside `rustc_errors`) - #93745 (Stabilize ADX target feature) - #94309 ([generator_interior] Be more precise with scopes of borrowed places) - #94698 (Remove redundant code from copy-suggestions) - #94731 (Suggest adding `{ .. }` around a const function call with arguments) - #94960 (Fix many spelling mistakes) - #94982 (Add deprecated_safe feature gate and attribute, cc #94978) - #94997 (debuginfo: Fix ICE when generating name for type that produces a layout error.) - #95000 (Fixed wrong type name in comment) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup | ||||
| 2022-03-16 | erase late-bound regions in dyn projection types for debuginfo | Michael Goulet | -0/+7 | |
| 2022-03-16 | debuginfo: Fix ICE when generating name for type that produces a layout error. | Michael Woerister | -0/+44 | |
| 2022-03-07 | only emit pointer-like metadata for BZST-allocator Box | Michael Goulet | -1/+24 | |
| 2022-02-23 | properly handle fat pointers to uninhabitable types | Michael Goulet | -0/+36 | |
