llvm-project/compiler-rt/lib/orc/unittests
Ben Langmuir 1c53cadf08 [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
2021-08-24 14:19:46 -07:00
..
CMakeLists.txt [ORC-RT] Split Simple-Packed-Serialization code into its own header. 2021-06-13 10:17:13 +10:00
adt_test.cpp [ORC-RT] Fix signedness warning in unit test. 2021-07-19 19:44:42 +10:00
c_api_test.cpp [orc] Fix unit tests that use ORC C API 2021-08-24 14:19:46 -07:00
endian_test.cpp Rename compiler-rt/lib/orc/endian.h to endianness.h to avoid conflict with system headers 2021-06-08 17:53:58 -07:00
error_test.cpp [ORC-RT] Add ORC runtime error and expected types. 2021-05-19 13:31:25 -07:00
extensible_rtti_test.cpp Re-apply "[ORC-RT] Add unit test infrastructure, extensible_rtti..." 2021-05-11 10:28:33 -07:00
orc_unit_test_main.cpp Re-apply "[ORC-RT] Add unit test infrastructure, extensible_rtti..." 2021-05-11 10:28:33 -07:00
simple_packed_serialization_test.cpp [ORC-RT] Remove unused header in unit test. 2021-06-13 20:45:20 +10:00
stl_extras_test.cpp [ORC-RT] Add apply_tuple utility. 2021-05-18 08:44:15 -07:00
wrapper_function_utils_test.cpp [ORC-RT] Fix void function handling in the WrapperFunction utility. 2021-06-15 15:49:40 +10:00