public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/31496] New: support DW_OP_bra (conditional branches) in dwarf location lists
@ 2024-03-15 20:04 fche at redhat dot com
  2024-04-23 18:17 ` [Bug translator/31496] " amerey at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: fche at redhat dot com @ 2024-03-15 20:04 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=31496

            Bug ID: 31496
           Summary: support DW_OP_bra (conditional branches) in dwarf
                    location lists
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
          Assignee: systemtap at sourceware dot org
          Reporter: fche at redhat dot com
  Target Milestone: ---

stap should support location lists such as:

 <8><1257ae4>: Abbrev Number: 15 (DW_TAG_call_site_parameter)
    <1257ae5>   DW_AT_location    : 1 byte block: 54    (DW_OP_reg4 (rsi))
    <1257ae7>   DW_AT_call_value  : 22 byte block: 9 ff 30 7d 0 8 20 24 30 29
28 1 0 16 13 b 60 fb 1a 23 c0 1b  (DW_OP_const1s: -1; DW_OP_lit0; DW_OP_breg13
(r13): 0; DW_OP_const1u: 32; DW_OP_shl; DW_OP_lit0; DW_OP_eq; DW_OP_bra: 1;
DW_OP_swap; DW_OP_drop; DW_OP_const2s: -1184; DW_OP_and; DW_OP_plus_uconst:
3520)

(found in the fedora 38 6.4.15 kernel)

00449           case DW_OP_bra:                                                 
00450             // ??? Could copy the stack, recurse, and place both          
00451             // traces in arms of a ternary_expression.  No point          
00452             // in doing that if this is never used, however.              
00453             DIE ("conditional branches not supported");                   
00454             break;                                                        


https://issues.redhat.com/browse/RHEL-13009

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug translator/31496] support DW_OP_bra (conditional branches) in dwarf location lists
  2024-03-15 20:04 [Bug translator/31496] New: support DW_OP_bra (conditional branches) in dwarf location lists fche at redhat dot com
@ 2024-04-23 18:17 ` amerey at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: amerey at redhat dot com @ 2024-04-23 18:17 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=31496

Aaron Merey <amerey at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
                 CC|                            |amerey at redhat dot com

--- Comment #1 from Aaron Merey <amerey at redhat dot com> ---
Support for DW_OP_bra with positive operand added commit
22e146b57ecf8a4d637d99d4558ae89c9a3c2617.

I'll close this bug for now since support for DW_OP_bra with negative operand
isn't needed yet.

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-04-23 18:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-15 20:04 [Bug translator/31496] New: support DW_OP_bra (conditional branches) in dwarf location lists fche at redhat dot com
2024-04-23 18:17 ` [Bug translator/31496] " amerey at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).