diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2023-02-08 12:53:54 +0100 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2023-02-08 12:53:54 +0100 |
| commit | 72eac42f21c0f45a27f3eaaff9364cbb5189b9e4 (patch) | |
| tree | f06f23e22c0228cc2633dd11459b82026c669ce8 /lldb/test/API/python_api/thread/TestThreadAPI.py | |
| parent | cfc486002117f2759d624a47856ec487e1a77735 (diff) | |
[xxHash] Don't trigger UB on empty StringRef
This is quite silly, but casting to uintptr_t seems like the easiest
option to quiet ubsan.
llvm/lib/Support/xxhash.cpp:107:12: runtime error: applying non-zero offset 8 to null pointer
#0 0x7fe3660404c0 in llvm::xxHash64(llvm::StringRef) llvm/lib/Support/xxhash.cpp:107:12
Diffstat (limited to 'lldb/test/API/python_api/thread/TestThreadAPI.py')
0 files changed, 0 insertions, 0 deletions
