diff options
| author | Francis Ricci <francisjricci@gmail.com> | 2018-01-23 19:54:02 +0000 |
|---|---|---|
| committer | Francis Ricci <francisjricci@gmail.com> | 2018-01-23 19:54:02 +0000 |
| commit | 564f845b74833e28b82e14e075d8e93ef3562bac (patch) | |
| tree | e66996d4a83e9f42a83a5a31ca521fdebbf46c4e /llvm/test/CodeGen/PowerPC/zext-free.ll | |
| parent | 1b55f1f804176cc2c82ceb10b74adb074ee3c17f (diff) | |
| download | bcm5719-llvm-564f845b74833e28b82e14e075d8e93ef3562bac.tar.gz bcm5719-llvm-564f845b74833e28b82e14e075d8e93ef3562bac.zip | |
[ubsan] Add preinit initializer for ubsan
Summary:
Now that ubsan does function interception (for signals), we
need to ensure that ubsan is initialized before any library
constructors are called. Otherwise, if a constructor calls
sigaction, ubsan will intercept in an unitialized state, which
will cause a crash.
This patch is a partial revert of r317757, which removed
preinit arrays for ubsan.
Reviewers: vitalybuka, eugenis, pcc
Subscribers: kubamracek, mgorny, llvm-commits, #sanitizers
Differential Revision: https://reviews.llvm.org/D42389
llvm-svn: 323249
Diffstat (limited to 'llvm/test/CodeGen/PowerPC/zext-free.ll')
0 files changed, 0 insertions, 0 deletions

