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

--- Comment #1 from Pavel Labath <labath at google dot com> ---
(In reply to Indu Bhagat from comment #0)
> Not displaying the section contents with --sframe is fine (as the section
> name is renamed to .sframe2 in the example above).  It aligns with the
> expectation (that the default SFrame section is assumed to be .sframe).


This may be a bit off-topic, but I'm writing here as I think this bug is the
result of the discussion on <https://github.com/llvm/llvm-project/pull/147294>.

The quoted behavior is fine in that it matches the documentation, but the
question on the llvm PR was whether that is the best/most intuitive behavior.
With the advent SHT_GNU_SFRAME (which, I assume, was added to avoid making
name-based decisions somewhere), another reasonable (I think) behavior of that
flag would be to "print all SHT_GNU_SFRAME sections (regardless of their
name)". Since most SHT_GNU_SFRAME sections will really be called ".sframe",
most users shouldn't notice the difference, so I'd think it would be possible
to retcon this behavior.

(BTW, I'd be fine with an answer of "no, we really want the current behavior"
to this. I just want to make sure this possibility is not overlooked.)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to