//===- ELFYAMLTest.cpp - Tests for ELFYAML.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/Object/ELF.h" #include "llvm/Object/ELFObjectFile.h" #include "llvm/Object/ELFTypes.h" #include "llvm/ObjectYAML/yaml2obj.h" #include "llvm/Support/YAMLTraits.h" #include "llvm/Testing/Support/Error.h" #include "gtest/gtest.h" usingnamespacellvm; usingnamespacellvm::object; template <class ELFT> static Expected<ELFObjectFile<ELFT>> toBinary(SmallVectorImpl<char> &Storage, StringRef Yaml) { … } TEST(ELFRelocationTypeTest, RelocationTestForVE) { … }