aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-cov/llvm-cov.cpp
diff options
context:
space:
mode:
authorNicolai Hähnle <nicolai.haehnle@amd.com>2022-07-04 14:41:03 +0200
committerNicolai Hähnle <nicolai.haehnle@amd.com>2022-07-07 14:29:20 +0200
commitfdf7e437bfc9df20454361a3453e2811be9da56c (patch)
treef0dd68c0d78d1b3dc47263da361410e52c5c4e18 /llvm/tools/llvm-cov/llvm-cov.cpp
parent0f4339a835c0ccd43294054709090267454302fc (diff)
downloadllvm-fdf7e437bfc9df20454361a3453e2811be9da56c.zip
llvm-fdf7e437bfc9df20454361a3453e2811be9da56c.tar.gz
llvm-fdf7e437bfc9df20454361a3453e2811be9da56c.tar.bz2
llvm-c: Add LLVMDeleteInstruction to fix a test issue
Not deleting the loose instruction with metadata associated to it causes an assertion when the LLVMContext is destroyed. This was previously hidden by the fact that llvm-c-test does not call LLVMShutdown. The planned removal of ManagedStatic exposed this issue. Differential Revision: https://reviews.llvm.org/D129114
Diffstat (limited to 'llvm/tools/llvm-cov/llvm-cov.cpp')
0 files changed, 0 insertions, 0 deletions