aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.cpp
diff options
context:
space:
mode:
authorRainer Orth <ro@gcc.gnu.org>2024-07-30 08:55:45 +0200
committerGitHub <noreply@github.com>2024-07-30 08:55:45 +0200
commit9eefe065bb2752b0db9ed553d2406e9a15ce349e (patch)
treebe01148fff042a27dd3a67f51cf197248e2fdf15 /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.cpp
parent3d149123f46cee5ac8d961c6bf77c5c566f1e410 (diff)
downloadllvm-9eefe065bb2752b0db9ed553d2406e9a15ce349e.zip
llvm-9eefe065bb2752b0db9ed553d2406e9a15ce349e.tar.gz
llvm-9eefe065bb2752b0db9ed553d2406e9a15ce349e.tar.bz2
[sanitizer_common][test] Fix SanitizerIoctl/KVM_GET_* tests on Linux/… (#100532)
…sparc64 Two ioctl tests `FAIL` on Linux/sparc64 (both 32 and 64-bit): ``` SanitizerCommon-Unit :: ./Sanitizer-sparc-Test/SanitizerIoctl/KVM_GET_LAPIC SanitizerCommon-Unit :: ./Sanitizer-sparc-Test/SanitizerIoctl/KVM_GET_MP_STATE ``` like ``` compiler-rt/lib/sanitizer_common/tests/./Sanitizer-sparc-Test --gtest_filter=SanitizerIoctl.KVM_GET_LAPIC -- compiler-rt/lib/sanitizer_common/tests/sanitizer_ioctl_test.cpp:91: Failure Value of: res Actual: false Expected: true compiler-rt/lib/sanitizer_common/tests/sanitizer_ioctl_test.cpp:92: Failure Expected equality of these values: ioctl_desc::WRITE Which is: 2 desc.type Which is: 1 ``` The problem is that Linux/sparc64, like Linux/mips, uses a different layout for the `ioctl` `request` arg than most other Linux targets as can be seen in `sanitizer_platform_limits_posix.h` (`IOC_*`). Therefore, this patch makes the tests use the correct one. 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