Skip to content

Conversation

@da-viper
Copy link

@da-viper da-viper commented Dec 3, 2025

show information about the signal when the user presses process handle <unix-signal> i.e

(lldb) process handle SIGWINCH
NAME         PASS   STOP   NOTIFY  DESCRIPTION
===========  =====  =====  ======  ===================
SIGWINCH     true   false  false   window size changes

Wanted to use the existing GetSignalDescription but it is expected behaviour to return the signal name if no signal code is passed. It is used in stop info.

https://github.com/llvm/llvm-project/blob/65c895dfe084860847e9e220ff9f1b283ebcb289/lldb/source/Target/StopInfo.cpp#L1192-L1195 (cherry picked from commit 1dc6ad0)

show information about the signal when the user presses `process handle
<unix-signal>` i.e

```sh
(lldb) process handle SIGWINCH
NAME         PASS   STOP   NOTIFY  DESCRIPTION
===========  =====  =====  ======  ===================
SIGWINCH     true   false  false   window size changes
```

Wanted to use the existing `GetSignalDescription` but it is expected
behaviour to return the signal name if no signal code is passed. It is
used in stop info.

https://github.com/llvm/llvm-project/blob/65c895dfe084860847e9e220ff9f1b283ebcb289/lldb/source/Target/StopInfo.cpp#L1192-L1195
(cherry picked from commit 1dc6ad0)
@da-viper da-viper requested a review from JDevlieghere December 3, 2025 19:38
@da-viper da-viper requested a review from a team as a code owner December 3, 2025 19:38
@da-viper
Copy link
Author

da-viper commented Dec 3, 2025

@swift-ci test

@adrian-prantl adrian-prantl merged commit b194c19 into swiftlang:stable/21.x Dec 4, 2025
3 checks passed
@da-viper da-viper deleted the cherry-pick-#164176 branch December 4, 2025 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants