Add REQUIRES: windows to NativePDB/stack_unwinding01.cpp

The test runs the compiled executable. As such, it can only work on
windows hosts.

llvm-svn: 360576
This commit is contained in:
Pavel Labath 2019-05-13 11:32:52 +00:00
parent 2cabb4dc5b
commit 9cba2c9650
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
// clang-format off // clang-format off
// REQUIRES: lld // REQUIRES: lld, system-windows
// RUN: %build --compiler=clang-cl --nodefaultlib -o %t.exe -- %s // RUN: %build --compiler=clang-cl --nodefaultlib -o %t.exe -- %s
// RUN: env LLDB_USE_NATIVE_PDB_READER=1 %lldb -f %t.exe -s \ // RUN: env LLDB_USE_NATIVE_PDB_READER=1 %lldb -f %t.exe -s \
@ -45,4 +45,4 @@ int main(int argc, char **argv) {
// CHECK-NEXT: frame #2: {{.*}} stack_unwinding01.cpp.tmp.exe`Struct::simple_method at stack_unwinding01.cpp:12 // CHECK-NEXT: frame #2: {{.*}} stack_unwinding01.cpp.tmp.exe`Struct::simple_method at stack_unwinding01.cpp:12
// CHECK-NEXT: frame #3: {{.*}} stack_unwinding01.cpp.tmp.exe`main(argc={{.*}}, argv={{.*}}) at stack_unwinding01.cpp:20 // CHECK-NEXT: frame #3: {{.*}} stack_unwinding01.cpp.tmp.exe`main(argc={{.*}}, argv={{.*}}) at stack_unwinding01.cpp:20
// CHECK-NEXT: frame #4: {{.*}} kernel32.dll`BaseThreadInitThunk + 34 // CHECK-NEXT: frame #4: {{.*}} kernel32.dll`BaseThreadInitThunk + 34
// CHECK-NEXT: frame #5: {{.*}} ntdll.dll`RtlUserThreadStart + 52 // CHECK-NEXT: frame #5: {{.*}} ntdll.dll`RtlUserThreadStart + 52