aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test/lldbpexpect.py
diff options
context:
space:
mode:
authorBjorn Pettersson <bjorn.a.pettersson@ericsson.com>2023-05-25 18:15:11 +0200
committerBjorn Pettersson <bjorn.a.pettersson@ericsson.com>2023-05-25 18:31:36 +0200
commit28d418b16c6cd4836ad9d8bc8006d3dabe3c5559 (patch)
tree844afa5fffcc1aa14e42256b869a91097e5e5578 /lldb/packages/Python/lldbsuite/test/lldbpexpect.py
parent1826fadb0d2bc5b61d6c028d8006b2a7d1249ec0 (diff)
downloadllvm-28d418b16c6cd4836ad9d8bc8006d3dabe3c5559.zip
llvm-28d418b16c6cd4836ad9d8bc8006d3dabe3c5559.tar.gz
llvm-28d418b16c6cd4836ad9d8bc8006d3dabe3c5559.tar.bz2
[unittest][codegen] Avoid memory leak in recently added FindDebugLocTest unittest
Need to finalize the DIBuilder to avoid leak sanitizer errors like this: Direct leak of 48 byte(s) in 1 object(s) allocated from: #0 0x55c99ea1761d in operator new(unsigned long) #1 0x55c9a518ae49 in operator new #2 0x55c9a518ae49 in llvm::MDTuple::getImpl(...) #3 0x55c9a4f1b1ec in getTemporary #4 0x55c9a4f1b1ec in llvm::DIBuilder::createFunction(...)
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbpexpect.py')
0 files changed, 0 insertions, 0 deletions