diff options
| author | Roman Lebedev <lebedev.ri@gmail.com> | 2020-01-23 22:48:57 +0300 |
|---|---|---|
| committer | Roman Lebedev <lebedev.ri@gmail.com> | 2020-01-23 22:50:48 +0300 |
| commit | a4cfb15d15a8a353fe316f2a9fe1c8c6a6740ef1 (patch) | |
| tree | 94635ffd6d81ebadd190d7ee4a04fa613c052ce6 /lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp | |
| parent | 9ad044a38c0041b6413e5cfd0ae8dfb03f9b9f91 (diff) | |
[Sema] Sanity-check alignment requested via `__attribute__((assume_aligned(imm)))`
Summary:
For `__builtin_assume_aligned()`, we do validate that the alignment
is not greater than `536870912` (D68824), but we don't do that for
`__attribute__((assume_aligned(N)))` attribute.
I suspect we should.
Reviewers: erichkeane, aaron.ballman, hfinkel, rsmith, jdoerfert
Reviewed By: erichkeane
Subscribers: cfe-commits, llvm-commits
Tags: #llvm, #clang
Differential Revision: https://reviews.llvm.org/D72994
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp')
0 files changed, 0 insertions, 0 deletions
