diff options
author | Rainer Orth <ro@gcc.gnu.org> | 2020-08-11 12:46:34 +0200 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2020-08-11 12:46:34 +0200 |
commit | 8144a7d8fc00c1ed779cb2dfabd826eedb19f296 (patch) | |
tree | 708324355eeabe22bd48e0a867b2e67bf9292c60 /lldb/source/Commands/CommandObjectThread.cpp | |
parent | 59703f17361815e3854aeb0822961278246fb666 (diff) | |
download | llvm-8144a7d8fc00c1ed779cb2dfabd826eedb19f296.zip llvm-8144a7d8fc00c1ed779cb2dfabd826eedb19f296.tar.gz llvm-8144a7d8fc00c1ed779cb2dfabd826eedb19f296.tar.bz2 |
[compiler-rt][ubsan][test] Fix TypeCheck/misaligned.cpp on Sparc
Two ubsan tests FAIL on Sparc:
UBSan-Standalone-sparc :: TestCases/TypeCheck/misaligned.cpp
UBSan-Standalone-sparcv9 :: TestCases/TypeCheck/misaligned.cpp
I've reported the details in Bug 47015, but it boils down to the fact that
the `s1` subtest actually incurs a fault on strict-alignment targets like
Sparc which UBSan doesn't expect.
This can be fixed like the `w1` subtest by compiling with
`-fno-sanitize-recover=alignment`.
Tested on `sparcv9-sun-solaris2.11`, `amd64-pc-solaris2.11`, and
`x86_64-pc-linux-gnu`.
Differential Revision: https://reviews.llvm.org/D85433
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
0 files changed, 0 insertions, 0 deletions