diff options
author | Kamil Rytarowski <n54@gmx.com> | 2018-11-06 14:18:05 +0000 |
---|---|---|
committer | Kamil Rytarowski <n54@gmx.com> | 2018-11-06 14:18:05 +0000 |
commit | 37eefc07d07b83d23dfe075ea9b964ad3bf6e98b (patch) | |
tree | 5385e3941665c792b39b06280c026c1f0d5b7f8f /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 003e08ff28c2db383f1791f5cc62c8aa61312ed1 (diff) | |
download | llvm-37eefc07d07b83d23dfe075ea9b964ad3bf6e98b.zip llvm-37eefc07d07b83d23dfe075ea9b964ad3bf6e98b.tar.gz llvm-37eefc07d07b83d23dfe075ea9b964ad3bf6e98b.tar.bz2 |
Adapt UBSan integer truncation tests to NetBSD
Summary:
The NetBSD headers use internal indirect type for
standard *int*_t definitions. The internal type is unrolled
inside the sanitizer into e.g. __int32_t from int32_t.
This symbol mangling causes pattern mismatch in
the interger truncation tests as they expect exact
types such as 'int32_t'.
Change the pattern rules so every acceptable internal
form of *int*_t will be accepted flawlessly.
Reviewers: lebedev.ri, vitalybuka, joerg
Reviewed By: lebedev.ri
Subscribers: kubamracek, dmgreen, llvm-commits, mgorny, #sanitizers
Tags: #sanitizers
Differential Revision: https://reviews.llvm.org/D54150
llvm-svn: 346228
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions