aboutsummaryrefslogtreecommitdiff
path: root/lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp
diff options
context:
space:
mode:
authorEli Friedman <efriedma@quicinc.com>2021-05-06 12:27:01 -0700
committerEli Friedman <efriedma@quicinc.com>2021-05-17 13:18:23 -0700
commit698568b74c93ab6d9374adc8bdc6e60fbcf41ff1 (patch)
tree792e9921001a71fcda06ba0d646f1f2380ab4cd2 /lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp
parent65271ffe84165b935cefc9a7d468cb6f46a96a91 (diff)
downloadllvm-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