about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/debuginfo/mod.rs
diff options
context:
space:
mode:
authorJonathan Conder <jono.conder@gmail.com>2024-09-06 10:25:25 +1200
committerJonathan Conder <jono.conder@gmail.com>2024-09-06 17:01:59 +1200
commit25d183057edcf5d24ba0dcc8d5222a2a954aa80f (patch)
tree5d884401deb678946fbfaad76ffb6feaf6b13c3e /compiler/rustc_codegen_llvm/src/debuginfo/mod.rs
parent3446ca535ecead268a4c8393ba7a48fd783b363a (diff)
downloadrust-25d183057edcf5d24ba0dcc8d5222a2a954aa80f.tar.gz
rust-25d183057edcf5d24ba0dcc8d5222a2a954aa80f.zip
coverage: Treat await similar to a macro
Currently `await` is only counted towards coverage if the containing
function is suspended and resumed at least once. This is because it
expands to code which contains a branch on the discriminant of `Poll`.

By treating it like a branching macro (e.g. `assert!`), these
implementation details will be hidden from the coverage results.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/debuginfo/mod.rs')
0 files changed, 0 insertions, 0 deletions