llvm-project/compiler-rt/test/ubsan
Kamil Rytarowski 37eefc07d0 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
2018-11-06 14:18:05 +00:00
..
TestCases Adapt UBSan integer truncation tests to NetBSD 2018-11-06 14:18:05 +00:00
CMakeLists.txt [UBSan] Fix typo in CMake conditional that checked if the architecture 2018-09-19 15:27:00 +00:00
lit.common.cfg [UBSan] Add CMake and lit support for configuring and running UBSan 2018-09-03 10:30:10 +00:00
lit.site.cfg.in [UBSan] Add CMake and lit support for configuring and running UBSan 2018-09-03 10:30:10 +00:00