aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test/lldbtest.py
diff options
context:
space:
mode:
authorOrlando Cazalet-Hyams <orlando.hyams@sony.com>2024-05-16 13:16:44 +0100
committerGitHub <noreply@github.com>2024-05-16 13:16:44 +0100
commit911207338add39b8439a09fd7f9d97bbe4a335bd (patch)
treeb925cc9d17c5ec649e29b82e4176b99264258ad4 /lldb/packages/Python/lldbsuite/test/lldbtest.py
parentfdaad738753cde2bba6480c2ee5d1e9fb45064b9 (diff)
downloadllvm-911207338add39b8439a09fd7f9d97bbe4a335bd.zip
llvm-911207338add39b8439a09fd7f9d97bbe4a335bd.tar.gz
llvm-911207338add39b8439a09fd7f9d97bbe4a335bd.tar.bz2
[RemoveDIs][NFC] Fix rotten green C API test (#92362)
`llvm_test_dibuilder(/*NewDebugInfoMode=*/true)` isn't currently executed in `return llvm_test_dibuilder(false) && llvm_test_dibuilder(true);` because `llvm_test_dibuilder` returns 0 for success. Split the llvm-c-test flag `--test-dibuilder` into two, one for the old and one for the new debug info format. Add another lit test for the new format. Now that the test actually runs, it crashes using the new format with `llvm/lib/IR/LLVMContextImpl.cpp:53:llvm::LLVMContextImpl::~LLVMContextImpl(): Assertion 'TrailingDbgRecords.empty() && "DbgRecords in blocks not cleaned"' failed. Aborted`. Insert terminators into the blocks so that we don't leave the debug records trailing, unattached to any instructions, which fixes that.
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbtest.py')
0 files changed, 0 insertions, 0 deletions