[llvm-c] Avoid use of deprecated APIs in unit tests
authorNikita Popov <npopov@redhat.com>
Mon, 6 Dec 2021 14:59:28 +0000 (15:59 +0100)
committerNikita Popov <npopov@redhat.com>
Mon, 6 Dec 2021 15:01:29 +0000 (16:01 +0100)
commit24a72dc070b36d9e62d6b84abe5f1912c5a49581
treeeef8811cf1c1e88275869f3d6561d1241ae25295
parent50324670342d9391f62671685f4d6b4880a4ea9a
[llvm-c] Avoid use of deprecated APIs in unit tests

As pointed out in https://reviews.llvm.org/D114936#3173327,
unit tests were still using deprecated C APIs.
llvm/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp