diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2018-09-07 23:57:54 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2018-09-07 23:57:54 +0000 |
| commit | da3729d1e6998e8b57f210f6ba4accc6993645a3 (patch) | |
| tree | 0eb7457733522e7581ce8678b4cda42f647f402f /lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp | |
| parent | 65f385da639368f933b14a98657b03c0a4a034d9 (diff) | |
| download | bcm5719-llvm-da3729d1e6998e8b57f210f6ba4accc6993645a3.tar.gz bcm5719-llvm-da3729d1e6998e8b57f210f6ba4accc6993645a3.zip | |
Do not use optimized atomic libcalls for misaligned atomics.
Summary:
The optimized (__atomic_foo_<n>) libcalls assume that the atomic object
is properly aligned, so should never be called on an underaligned
object.
This addresses one of several problems identified in PR38846.
Reviewers: jyknight, t.p.northover
Subscribers: jfb, cfe-commits
Differential Revision: https://reviews.llvm.org/D51817
llvm-svn: 341734
Diffstat (limited to 'lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp')
0 files changed, 0 insertions, 0 deletions

