diff options
| author | Aleksandr Platonov <platonov.aleksandr@huawei.com> | 2020-07-08 16:46:30 +0100 |
|---|---|---|
| committer | Bruno Ricci <riccibrun@gmail.com> | 2020-07-08 16:57:54 +0100 |
| commit | 1ba6fb9293967de21ae33be10603bf5ae0ce1c96 (patch) | |
| tree | 7d641d8a06660788f81ec1d9ce552adb677e0f6d /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 9d8b4defd3c363ede4b2efc69dae7376d0bc5ffe (diff) | |
[clang] Fix a crash when passing a C structure of incompatible type to a function with a reference parameter.
__builtin_va_*() and __builtin_ms_va_*() are declared as functions with a
parameter of reference type.
This patch fixes a crash when using these functions in C where an argument
of structure type is incompatible with the parameter type.
Differential Revision: https://reviews.llvm.org/D82805
Reviewed By: riccibruno
Patch by: Aleksandr Platonov <platonov.aleksandr@huawei.com>
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
