about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/transform/coverage/mod.rs
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2021-08-15 17:46:20 +0200
committerNikita Popov <nikita.ppv@gmail.com>2021-08-16 18:28:18 +0200
commit6a454edce908ab2ef204052c4ca5bad29fa9a30e (patch)
tree3de24ff7b72474d8e6639a447a0c374144d9a786 /compiler/rustc_mir/src/transform/coverage/mod.rs
parentd20e798ad871b25ff5597c837e081fb6b635be57 (diff)
downloadrust-6a454edce908ab2ef204052c4ca5bad29fa9a30e.tar.gz
rust-6a454edce908ab2ef204052c4ca5bad29fa9a30e.zip
Dispose LLVM context after TargetMachine
The TargetMachine may be referencing data in the context. In
particular, at least the GlobalISel instruction selector stored
in the TM may reference a TrackedMDNode DebugLoc that destruction
of the TargetMachine will try to untrack.
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/mod.rs')
0 files changed, 0 insertions, 0 deletions