diff options
| author | Michal Gorny <mgorny@gentoo.org> | 2018-12-23 15:09:20 +0000 |
|---|---|---|
| committer | Michal Gorny <mgorny@gentoo.org> | 2018-12-23 15:09:20 +0000 |
| commit | 470ce63251657e1370fedede313b70f15bf55774 (patch) | |
| tree | 802ec09d8807b4bc826224cd3410bca523f3e509 /llvm/test/CodeGen/AMDGPU/si-annotate-cfg-loop-assert.ll | |
| parent | dae01c352b98022dddbf1aec8a25c919d3389d9e (diff) | |
| download | bcm5719-llvm-470ce63251657e1370fedede313b70f15bf55774.tar.gz bcm5719-llvm-470ce63251657e1370fedede313b70f15bf55774.zip | |
[xray] Disable alignas() for thread_local objects on NetBSD
Disable enforcing alignas() for structs that are used as thread_local
data on NetBSD. The NetBSD ld.so implementation is buggy and does
not enforce correct alignment; however, clang seems to take it for
granted and generates instructions that segv on wrongly aligned objects.
Therefore, disable those alignas() statements on NetBSD until we can
establish a better fix.
Apparently, std::aligned_storage<> does not have any real effect
at the moment, so we can leave it as-is.
Differential Revision: https://reviews.llvm.org/D56000
llvm-svn: 350029
Diffstat (limited to 'llvm/test/CodeGen/AMDGPU/si-annotate-cfg-loop-assert.ll')
0 files changed, 0 insertions, 0 deletions

