Commit 457a6d49 authored by Jonas Devlieghere's avatar Jonas Devlieghere
Browse files

[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.
parent 58c4fa2c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -27,6 +27,6 @@ add_lit_testsuite(check-lldb-repro-capture
add_lit_testsuite(check-lldb-repro
  "Running lldb shell test suite with reproducer replay"
  ${CMAKE_CURRENT_BINARY_DIR}
  PARAMS "lldb-run-with-repro=capture"
  PARAMS "lldb-run-with-repro=replay"
  DEPENDS lldb-test-deps)
add_dependencies(check-lldb-repro check-lldb-repro-capture)
+1 −0
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
# "reasonable".

# REQUIRES: x86
# UNSUPPORTED: lldb-repro

# RUN: llvm-mc -triple=x86_64-pc-linux -filetype=obj %s --defsym LOC=0 > %t
# RUN: %lldb %t -o "image lookup -v -a 0" -o "image lookup -v -a 2" \
+4 −3
Original line number Diff line number Diff line
@@ -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():