diff options
| author | David Wood <david.wood@huawei.com> | 2022-07-21 16:19:22 +0100 |
|---|---|---|
| committer | David Wood <david.wood@huawei.com> | 2022-09-07 13:54:51 +0100 |
| commit | 1cf9be98cdc2d2753b11dd71d83c03c82897b006 (patch) | |
| tree | 78a4a0a3e69d8b51ac56f578c8500c14bcfd6712 /tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.diff | |
| parent | b8169a6da07f123cda26b5903e3d6032dd00efb9 (diff) | |
| download | rust-1cf9be98cdc2d2753b11dd71d83c03c82897b006.tar.gz rust-1cf9be98cdc2d2753b11dd71d83c03c82897b006.zip | |
ssa: implement `#[collapse_debuginfo]`
Debuginfo line information for macro invocations are collapsed by default - line information are replaced by the line of the outermost expansion site. Using `-Zdebug-macros` disables this behaviour. When the `collapse_debuginfo` feature is enabled, the default behaviour is reversed so that debuginfo is not collapsed by default. In addition, the `#[collapse_debuginfo]` attribute is available and can be applied to macro definitions which will then have their line information collapsed. Signed-off-by: David Wood <david.wood@huawei.com>
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions
