diff options
| author | Rainer Orth <ro@gcc.gnu.org> | 2024-07-30 09:00:20 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-30 09:00:20 +0200 |
| commit | 7cecbdfe4eac3fd7268532426fb6b13e51b8720d (patch) | |
| tree | b63899bd834f742e2a60add04fb9017603246ada /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.cpp | |
| parent | 94394ca980f8ecbd845155d2170cfd865e4d62dc (diff) | |
| download | llvm-7cecbdfe4eac3fd7268532426fb6b13e51b8720d.zip llvm-7cecbdfe4eac3fd7268532426fb6b13e51b8720d.tar.gz llvm-7cecbdfe4eac3fd7268532426fb6b13e51b8720d.tar.bz2 | |
[sanitizer_common] Adjust signal_send.cpp for Linux/sparc64 (#100538)
```
SanitizerCommon-ubsan-sparc-Linux :: Linux/signal_send.cpp
```
currently `FAIL`s on Linux/sparc64 (32 and 64-bit). Instead of the
expected values for `SIGUSR1` (`10`) and `SIGUSR1` (`12`), that target
uses `30` and `31`.
On Linux/x86_64, the signals get their values from
`x86_64-linux-gnu/bits/signum-generic.h`, to be overridden in
`x86_64-linux-gnu/bits/signum.h`. On Linux/sparc64 OTOH, the definitions
are from `sparc64-linux-gnu/bits/signum-arch.h` and remain that way.
There's no `signum.h` at all.
The patch allows for both values.
Tested on `sparc64-unknown-linux-gnu` and `x86_64-pc-linux-gnu`.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.cpp')
0 files changed, 0 insertions, 0 deletions
