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 | 38958aa8bdd2b46dd7f9213bda1c9c6433282a68 (patch) | |
| tree | 52b8d6634559b28453878c037cc616b73e77048f /compiler/rustc_codegen_llvm/src | |
| parent | 2991a7c7153946e02db0928eb5bfb2a53607219f (diff) | |
| download | rust-38958aa8bdd2b46dd7f9213bda1c9c6433282a68.tar.gz rust-38958aa8bdd2b46dd7f9213bda1c9c6433282a68.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 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
