Stefan =?utf-8?q?Gränitz?= <[email protected]>,
Stefan =?utf-8?q?Gränitz?= <[email protected]>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/[email protected]>
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {darker}-->
:warning: Python code formatter, darker found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
darker --check --diff -r origin/main...HEAD
lldb/test/API/symstore/PDB/TestSymStoreLocalPDB.py
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- TestSymStoreLocalPDB.py 2026-02-25 13:28:02.000000 +0000
+++ TestSymStoreLocalPDB.py 2026-02-25 14:02:35.920197 +0000
@@ -11,10 +11,11 @@
Test debug symbol acquisition from a local SymStore repository. We populate the
respective file structure in a temporary directory and run LLDB on it. This is
supposed to work cross-platform. The test can run on all platforms that can
link
debug info in a PDB file with clang.
"""
+
class SymStoreLocalPDBTests(TestBase):
NO_DEBUG_INFO_TESTCASE = True
def try_breakpoint(self, should_have_loc):
@@ -97,11 +98,11 @@
# TODO: Add a test that fails if we don't set the URL
def test_basic(self):
"""Check that breakpoint hits if LLDB fetches PDB from local
SymStore"""
if not self.build_inferior_with_pdb():
self.skipTest("Build did not produce a PDB file")
-
+
tmp_dir = tempfile.mkdtemp()
symstore_dir = self.populate_symstore(tmp_dir)
self.runCmd(
"settings set plugin.symbol-locator.symstore.urls %s"
``````````
</details>
https://github.com/llvm/llvm-project/pull/183302
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits