//===- llvm/unittest/Object/Disassembler.cpp ------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include "llvm-c/Disassembler.h" #include "llvm/Support/TargetSelect.h" #include "gtest/gtest.h" usingnamespacellvm; static const char *symbolLookupCallback(void *DisInfo, uint64_t ReferenceValue, uint64_t *ReferenceType, uint64_t ReferencePC, const char **ReferenceName) { … } TEST(Disassembler, X86Test) { … } TEST(Disassembler, WebAssemblyTest) { … }