aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test/gdbclientutils.py
diff options
context:
space:
mode:
authorLuke Lau <luke@igalia.com>2024-05-16 12:57:28 +0800
committerGitHub <noreply@github.com>2024-05-16 12:57:28 +0800
commit566fbb450092bf8c9f966a6ab1b0381626e3e535 (patch)
treeb16d529076929d0713b636530dd62968383db2ea /lldb/packages/Python/lldbsuite/test/gdbclientutils.py
parent6bf185920bd6831efc151d7d4158d6390006c50b (diff)
downloadllvm-566fbb450092bf8c9f966a6ab1b0381626e3e535.zip
llvm-566fbb450092bf8c9f966a6ab1b0381626e3e535.tar.gz
llvm-566fbb450092bf8c9f966a6ab1b0381626e3e535.tar.bz2
[RISCV] Defer creating RISCVInsertVSETVLI to avoid leak with -stop-after (#92303)
As noted in https://github.com/llvm/llvm-project/pull/91440#discussion_r1601976425, if the pass pipeline stops early because of -stop-after any allocated passes added with insertPass will not be freed if they haven't already been added. This was showing up as a failure on the address sanitizer buildbots. We can fix it by instead passing the pass ID instead so that allocation is deferred.
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/gdbclientutils.py')
0 files changed, 0 insertions, 0 deletions