Author: nerix
Date: 2025-10-28T11:43:47+01:00
New Revision: 7bb0d96e87e0129b960bb6a0a89de1a9a38f9f95

URL: 
https://github.com/llvm/llvm-project/commit/7bb0d96e87e0129b960bb6a0a89de1a9a38f9f95
DIFF: 
https://github.com/llvm/llvm-project/commit/7bb0d96e87e0129b960bb6a0a89de1a9a38f9f95.diff

LOG: [LLDB][PDB] Run `function-nested-block.test` with both plugins (#165364)

This test passes with both plugins, but only ran with the DIA plugin. It
was fixed with #161678, where I missed this test.

Added: 
    

Modified: 
    lldb/test/Shell/SymbolFile/PDB/function-nested-block.test

Removed: 
    


################################################################################
diff  --git a/lldb/test/Shell/SymbolFile/PDB/function-nested-block.test 
b/lldb/test/Shell/SymbolFile/PDB/function-nested-block.test
index 4a2355bf23c9a..a18955b18151f 100644
--- a/lldb/test/Shell/SymbolFile/PDB/function-nested-block.test
+++ b/lldb/test/Shell/SymbolFile/PDB/function-nested-block.test
@@ -1,7 +1,9 @@
 REQUIRES: system-windows, lld
 RUN: %build --compiler=clang-cl --nodefaultlib --output=%t.exe 
%S/Inputs/FunctionNestedBlockTest.cpp
-RUN: lldb-test symbols -find=function -file FunctionNestedBlockTest.cpp -line 
4 %t.exe | FileCheck --check-prefix=CHECK-FUNCTION %s
-RUN: lldb-test symbols -find=block -file FunctionNestedBlockTest.cpp -line 4 
%t.exe | FileCheck --check-prefix=CHECK-BLOCK %s
+RUN: env LLDB_USE_NATIVE_PDB_READER=0 lldb-test symbols -find=function -file 
FunctionNestedBlockTest.cpp -line 4 %t.exe | FileCheck 
--check-prefix=CHECK-FUNCTION %s
+RUN: env LLDB_USE_NATIVE_PDB_READER=0 lldb-test symbols -find=block -file 
FunctionNestedBlockTest.cpp -line 4 %t.exe | FileCheck 
--check-prefix=CHECK-BLOCK %s
+RUN: env LLDB_USE_NATIVE_PDB_READER=1 lldb-test symbols -find=function -file 
FunctionNestedBlockTest.cpp -line 4 %t.exe | FileCheck 
--check-prefix=CHECK-FUNCTION %s
+RUN: env LLDB_USE_NATIVE_PDB_READER=1 lldb-test symbols -find=block -file 
FunctionNestedBlockTest.cpp -line 4 %t.exe | FileCheck 
--check-prefix=CHECK-BLOCK %s
 
 CHECK-FUNCTION: Found 1 functions:
 CHECK-FUNCTION: name = "main"


        
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to