diff options
author | Ben Langmuir <blangmuir@apple.com> | 2021-08-24 11:10:11 -0700 |
---|---|---|
committer | Ben Langmuir <blangmuir@apple.com> | 2021-08-24 14:19:46 -0700 |
commit | 1c53cadf08c07fb3fa70993c6210355c58c3b149 (patch) | |
tree | ddadf22b3ec7b3d5bd9695aa50213cd044ba18f3 /clang/lib/CodeGen/CodeGenAction.cpp | |
parent | 35b0b1a64af58f25fc8467d3348703439be19f29 (diff) | |
download | llvm-1c53cadf08c07fb3fa70993c6210355c58c3b149.zip llvm-1c53cadf08c07fb3fa70993c6210355c58c3b149.tar.gz llvm-1c53cadf08c07fb3fa70993c6210355c58c3b149.tar.bz2 |
[orc] Fix unit tests that use ORC C API
* c_api_tests was failing to build after the API change to
__orc_rt_CWrapperFunctionResultAllocate
* wrapper_function_utils_test was causing an assertion failure, because
it was creating a result for `void(void)` with Size = 0, but seeing an
uninitialized pointer, which it considered to be an out-of-bound
error.
I noticed locally that making modifications to c_api.h is not causing
these unit tests to be rebuilt, which may be how the bug slipped in in
the first place.
Differential Revision: https://reviews.llvm.org/D108649
Diffstat (limited to 'clang/lib/CodeGen/CodeGenAction.cpp')
0 files changed, 0 insertions, 0 deletions