about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/transform/coverage/debug.rs
diff options
context:
space:
mode:
authorlrh2000 <lrh2000@pku.edu.cn>2021-04-27 23:07:36 +0800
committerlrh2000 <lrh2000@pku.edu.cn>2021-04-27 23:07:36 +0800
commite8e5a884ad9d6d1f7f0091cde961d462e17765eb (patch)
treeeafccb7a13a115ffd5864aae2ccdeaa74912ab81 /compiler/rustc_mir/src/transform/coverage/debug.rs
parentdc8cb63078c1322cef0ac11c2f8b006f6e310a46 (diff)
downloadrust-e8e5a884ad9d6d1f7f0091cde961d462e17765eb.tar.gz
rust-e8e5a884ad9d6d1f7f0091cde961d462e17765eb.zip
Fix failed tests related to pointer printing when using GDB 10
As mentioned in #79009, there are four failed debuginfo test cases
when using GDB 10. This commit fixes two of them, which fail because
GDB 10 won't print pointers as string anymore. We can use `printf`
as a workaround. It should work regardless of the version of GDB.

Refer this [comment] for more details.

[comment]: https://github.com/rust-lang/rust/issues/79009#issuecomment-826952708
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions