From 298e26815574746c4bcb06215b4c6b15e007cf6b Mon Sep 17 00:00:00 2001 From: Zachary Turner Date: Fri, 14 Dec 2018 18:43:42 +0000 Subject: [PATCH] [NativePDB] Fix local-variables.cpp test. Since we're actually running an executable on the host now, different versions of Windows could load different system libraries, so we need to regex out the number of loaded modules. llvm-svn: 349175 --- lldb/lit/SymbolFile/NativePDB/local-variables.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/lit/SymbolFile/NativePDB/local-variables.cpp b/lldb/lit/SymbolFile/NativePDB/local-variables.cpp index adc70d9e..5886153 100644 --- a/lldb/lit/SymbolFile/NativePDB/local-variables.cpp +++ b/lldb/lit/SymbolFile/NativePDB/local-variables.cpp @@ -151,7 +151,7 @@ int main(int argc, char **argv) { // CHECK-NEXT: Process {{.*}} exited with status = 18 (0x00000012) // CHECK: (lldb) target modules dump ast -// CHECK-NEXT: Dumping clang ast for 7 modules. +// CHECK-NEXT: Dumping clang ast for {{.*}} modules. // CHECK-NEXT: TranslationUnitDecl // CHECK-NEXT: |-FunctionDecl {{.*}} main 'int (int, char **)' // CHECK-NEXT: | |-ParmVarDecl {{.*}} argc 'int' -- 2.7.4