[all-commits] [llvm/llvm-project] 296fdd: Allow DW_OP_rot, DW_OP_neg, and DW_OP_abs in DIExp...
Tom Tromey via All-commits
all-commits at lists.llvm.org
Fri Oct 3 06:36:38 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 296fddc89e23b33055ff3f7ccb55de6c47dac757
https://github.com/llvm/llvm-project/commit/296fddc89e23b33055ff3f7ccb55de6c47dac757
Author: Tom Tromey <tromey at adacore.com>
Date: 2025-10-03 (Fri, 03 Oct 2025)
Changed paths:
M llvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp
M llvm/lib/IR/DebugInfoMetadata.cpp
A llvm/test/Bitcode/DW_OP_rot_neg_abs.ll
Log Message:
-----------
Allow DW_OP_rot, DW_OP_neg, and DW_OP_abs in DIExpression (#160757)
The Ada front end can emit somewhat complicated DWARF expressions for
the offset of a field. While working in this area I found that I needed
DW_OP_rot (to implement a branch-free computation -- it looked more
difficult to add support for branching); and DW_OP_neg and DW_OP_abs
(just basic functionality).
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list