[Lldb-commits] [lldb] r360576 - Add REQUIRES: windows to NativePDB/stack_unwinding01.cpp

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Mon May 13 04:32:53 PDT 2019


Author: labath
Date: Mon May 13 04:32:52 2019
New Revision: 360576

URL: http://llvm.org/viewvc/llvm-project?rev=360576&view=rev
Log:
Add REQUIRES: windows to NativePDB/stack_unwinding01.cpp

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

Modified:
    lldb/trunk/lit/SymbolFile/NativePDB/stack_unwinding01.cpp

Modified: lldb/trunk/lit/SymbolFile/NativePDB/stack_unwinding01.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lit/SymbolFile/NativePDB/stack_unwinding01.cpp?rev=360576&r1=360575&r2=360576&view=diff
==============================================================================
--- lldb/trunk/lit/SymbolFile/NativePDB/stack_unwinding01.cpp (original)
+++ lldb/trunk/lit/SymbolFile/NativePDB/stack_unwinding01.cpp Mon May 13 04:32:52 2019
@@ -1,5 +1,5 @@
 // clang-format off
-// REQUIRES: lld
+// REQUIRES: lld, system-windows
 
 // RUN: %build --compiler=clang-cl --nodefaultlib -o %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 #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 #5: {{.*}} ntdll.dll`RtlUserThreadStart + 52
\ No newline at end of file
+// CHECK-NEXT:     frame #5: {{.*}} ntdll.dll`RtlUserThreadStart + 52




More information about the lldb-commits mailing list