llvm/llvm/unittests/TargetParser/Host.cpp

//========- unittests/Support/Host.cpp - Host.cpp tests --------------========//
//
// 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/TargetParser/Host.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/Config/config.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/Program.h"
#include "llvm/Support/Threading.h"
#include "llvm/TargetParser/Triple.h"

#include "gtest/gtest.h"

#define ASSERT_NO_ERROR(x)

usingnamespacellvm;

TEST(getLinuxHostCPUName, ARM) {}

TEST(getLinuxHostCPUName, AArch64) {}

TEST(getLinuxHostCPUName, s390x) {}

TEST(getLinuxHostCPUName, RISCV) {}

static bool runAndGetCommandOutput(
    const char *ExePath, ArrayRef<llvm::StringRef> argv,
    std::unique_ptr<char[]> &Buffer, off_t &Size) {}

TEST(HostTest, DummyRunAndGetCommandOutputUse) {}

TEST(HostTest, getMacOSHostVersion) {}

// Helper to return AIX system version. Must return void to use ASSERT_*.
static void getAIXSystemVersion(VersionTuple &SystemVersion) {}

TEST(HostTest, AIXHostVersionDetect) {}

TEST(HostTest, AIXTargetVersionDetect) {}

TEST(HostTest, AIXHostCPUDetect) {}