[clang] [llvm] [Dwarf] Support heterogeneous DW_{OP,AT}s needed for AMDGPU CFI (PR #153883)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 9 12:15:44 PDT 2025
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff origin/main HEAD --extensions h,cpp,cl -- clang/lib/Basic/Targets/AMDGPU.h clang/test/CodeGenOpenCL/amdgpu-debug-info-pointer-address-space.cl clang/test/CodeGenOpenCL/amdgpu-debug-info-variable-expression.cl llvm/include/llvm/BinaryFormat/Dwarf.h llvm/include/llvm/Support/AMDGPUAddrSpace.h llvm/lib/BinaryFormat/Dwarf.cpp llvm/lib/DebugInfo/DWARF/DWARFExpressionPrinter.cpp llvm/lib/DebugInfo/DWARF/LowLevel/DWARFExpression.cpp llvm/unittests/DebugInfo/DWARF/DWARFExpressionCompactPrinterTest.cpp
``````````
: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 clang-format here.
</summary>
``````````diff
diff --git a/llvm/unittests/DebugInfo/DWARF/DWARFExpressionCompactPrinterTest.cpp b/llvm/unittests/DebugInfo/DWARF/DWARFExpressionCompactPrinterTest.cpp
index 42d7ea083..306ce67f9 100644
--- a/llvm/unittests/DebugInfo/DWARF/DWARFExpressionCompactPrinterTest.cpp
+++ b/llvm/unittests/DebugInfo/DWARF/DWARFExpressionCompactPrinterTest.cpp
@@ -144,5 +144,6 @@ TEST_F(DWARFExpressionCompactPrinterTest, Test_OP_LLVM_nop_OP_reg) {
TEST_F(DWARFExpressionCompactPrinterTest, Test_OP_LLVM_user_unknown_subop) {
TestExprPrinter({DW_OP_LLVM_user, DW_OP_LLVM_form_aspace_address},
- "<unknown op DW_OP_LLVM_user (233) subop DW_OP_LLVM_form_aspace_address (2)>");
+ "<unknown op DW_OP_LLVM_user (233) subop "
+ "DW_OP_LLVM_form_aspace_address (2)>");
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/153883
More information about the llvm-commits
mailing list