Files
clang-p2996/lldb/lit/tools/lldb-mi/breakpoint/break-insert.test
Alexander Polyakov aa65168419 [lldb, lldb-mi] Enable lldb-mi -break-insert test on Windows.
Summary:
The default name for a compiler output on Linux is `a.out`,
while on Windows it's `a.exe`. But if we add option `-o a.exe`,
the compiler will create the executable `a.exe` on the both systems.

Reviewers: aprantl, stella.stamenova

Reviewed By: stella.stamenova

Subscribers: ki.stfu, llvm-commits, lldb-commits

Differential Revision: https://reviews.llvm.org/D47679

llvm-svn: 333963
2018-06-04 22:39:40 +00:00

19 lines
367 B
Plaintext

# XFAIL: windows
# -> llvm.org/pr24452
#
# RUN: %cc -o a.exe %p/inputs/break-insert.c -g
# RUN: %lldbmi < %s | FileCheck %s
# Test that a breakpoint can be inserted before creating a target.
-break-insert breakpoint
# CHECK: ^done,bkpt={number="1"
-file-exec-and-symbols a.exe
# CHECK: ^done
-exec-run
# CHECK: ^running
# CHECK: *stopped,reason="breakpoint-hit"