[Lldb-commits] [lldb] [lldb] Track CFA pointer metadata in StackID (PR #157498)

via lldb-commits lldb-commits at lists.llvm.org
Wed Sep 10 14:47:16 PDT 2025


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/macosx/arm-pointer-metadata-cfa-dwarf-expr/TestArmPointerMetadataCFADwarfExpr.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
--- TestArmPointerMetadataCFADwarfExpr.py	2025-09-10 21:43:20.000000 +0000
+++ TestArmPointerMetadataCFADwarfExpr.py	2025-09-10 21:46:49.183334 +0000
@@ -16,10 +16,10 @@
         # orr   x29, x29, #0x1000000000000000
         # stp	x29, x30, [sp, #-16]!
         thread.StepInstruction(False)
         thread.StepInstruction(False)
 
-        argv_addr = thread.frames[1].GetValueForVariablePath("&argv");
+        argv_addr = thread.frames[1].GetValueForVariablePath("&argv")
         self.assertTrue(argv_addr.IsValid())
 
         argv_addr_uint = argv_addr.GetValueAsUnsigned()
         self.assertNotEqual((argv_addr_uint & (1 << 60)), 0)

``````````

</details>


https://github.com/llvm/llvm-project/pull/157498


More information about the lldb-commits mailing list