================
@@ -140,6 +140,17 @@ def test_local_dir(self):
             self.runCmd(f"settings set plugin.symbol-locator.symstore.urls 
{dir}")
             self.try_breakpoint(exe, should_have_loc=True)
 
+    def test_http_not_found(self):
+        """
+        Check that a 404 response from an HTTP SymStore is handled gracefully.
+        """
+        exe, sym = self.build_inferior()
+        with MockedSymStore(self, exe, sym) as symstore_dir:
+            os.makedirs(f"{symstore_dir}_empty", exist_ok=False)
+            with HTTPServer(f"{symstore_dir}_empty") as url:
+                self.runCmd(f"settings set plugin.symbol-locator.symstore.urls 
{url}")
+                self.try_breakpoint(exe, should_have_loc=False)
----------------
weliveindetail wrote:

Is there a good way to check that we don't produce a warning?

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

Reply via email to