llvmbot wrote:

<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: Stefan Gränitz (weliveindetail)

<details>
<summary>Changes</summary>

Reverts llvm/llvm-project#<!-- -->185004 and llvm/llvm-project#<!-- -->183302

---
Full diff: https://github.com/llvm/llvm-project/pull/185032.diff


2 Files Affected:

- (modified) lldb/test/API/symstore/Makefile (+2) 
- (modified) lldb/test/API/symstore/TestSymStoreLocal.py (+4-3) 


``````````diff
diff --git a/lldb/test/API/symstore/Makefile b/lldb/test/API/symstore/Makefile
index c9319d6e6888a..6279aee698dad 100644
--- a/lldb/test/API/symstore/Makefile
+++ b/lldb/test/API/symstore/Makefile
@@ -1,2 +1,4 @@
+MAKE_PDB := YES
+
 C_SOURCES := main.c
 include Makefile.rules
diff --git a/lldb/test/API/symstore/TestSymStoreLocal.py 
b/lldb/test/API/symstore/TestSymStoreLocal.py
index 154af876fea3f..f45e368613847 100644
--- a/lldb/test/API/symstore/TestSymStoreLocal.py
+++ b/lldb/test/API/symstore/TestSymStoreLocal.py
@@ -71,11 +71,12 @@ class SymStoreLocalTests(TestBase):
     TEST_WITH_PDB_DEBUG_INFO = True
 
     def build_inferior(self):
-        if self.getDebugInfo() != "pdb":
-            self.skipTest("Non-PDB debug info variants not yet supported")
         self.build()
         exe_file = "a.out"
-        sym_file = "a.pdb"
+        if self.getDebugInfo() == "pdb":
+            sym_file = "a.pdb"
+        else:
+            self.skipTest("Non-PDB debug info variants not yet supported")
         self.assertTrue(os.path.isfile(self.getBuildArtifact(exe_file)))
         self.assertTrue(os.path.isfile(self.getBuildArtifact(sym_file)))
         return exe_file, sym_file

``````````

</details>


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

Reply via email to