diff options
author | Eli Friedman <efriedma@quicinc.com> | 2021-05-06 12:27:01 -0700 |
---|---|---|
committer | Eli Friedman <efriedma@quicinc.com> | 2021-05-17 13:18:23 -0700 |
commit | 698568b74c93ab6d9374adc8bdc6e60fbcf41ff1 (patch) | |
tree | 792e9921001a71fcda06ba0d646f1f2380ab4cd2 /lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp | |
parent | 65271ffe84165b935cefc9a7d468cb6f46a96a91 (diff) | |
download | llvm-698568b74c93ab6d9374adc8bdc6e60fbcf41ff1.zip llvm-698568b74c93ab6d9374adc8bdc6e60fbcf41ff1.tar.gz llvm-698568b74c93ab6d9374adc8bdc6e60fbcf41ff1.tar.bz2 |
[clang CodeGen] Don't crash on large atomic function parameter.
I wouldn't recommend writing code like the testcase; a function
parameter isn't atomic, so using an atomic type doesn't really make
sense. But it's valid, so clang shouldn't crash on it.
The code was assuming hasAggregateEvaluationKind(Ty) implies Ty is a
RecordType, which isn't true. Just use isRecordType() instead.
Differential Revision: https://reviews.llvm.org/D102015
Diffstat (limited to 'lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp')
0 files changed, 0 insertions, 0 deletions