aboutsummaryrefslogtreecommitdiff
path: root/lldb/utils
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2020-01-30 15:51:29 -0800
committerJonas Devlieghere <jonas@devlieghere.com>2020-01-30 15:51:29 -0800
commit457a6d49d565075ae99f0e5a931bbed6512dce2f (patch)
tree607c9d0f52eae99b587144ed7481e2a7ef93652f /lldb/utils
parent58c4fa2c538a73527aeeb4c7535016d9b9a1df18 (diff)
downloadllvm-457a6d49d565075ae99f0e5a931bbed6512dce2f.zip
llvm-457a6d49d565075ae99f0e5a931bbed6512dce2f.tar.gz
llvm-457a6d49d565075ae99f0e5a931bbed6512dce2f.tar.bz2
[lldb/Reproducers] Fix typo in CMake so we actually replay.
The CMakeLists.txt had a typo which meant that check-lldb-repro was capturing twice instead of capturing and then replaying. This also uncovered a missing import in lldb-repro.py. This patch fixes both issues.
Diffstat (limited to 'lldb/utils')
-rwxr-xr-xlldb/utils/lldb-repro/lldb-repro.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/lldb/utils/lldb-repro/lldb-repro.py b/lldb/utils/lldb-repro/lldb-repro.py
index f7bcd3b..fddd65e 100755
--- a/lldb/utils/lldb-repro/lldb-repro.py
+++ b/lldb/utils/lldb-repro/lldb-repro.py
@@ -14,11 +14,12 @@ run again but this time every invocation of lldb replays the previously
recorded session.
"""
-import sys
+import hashlib
import os
-import tempfile
+import shutil
import subprocess
-import hashlib
+import sys
+import tempfile
def help():