aboutsummaryrefslogtreecommitdiffstats
path: root/tools/build/feature/test-llvm-perf.cpp
blob: a8cbb67e335e5a9ac33de75263a5fb846b8e763c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// SPDX-License-Identifier: GPL-2.0
#include "llvm/Support/ManagedStatic.h"
#include "llvm/Support/raw_ostream.h"

#if LLVM_VERSION_MAJOR < 13
# error "Perf requires llvm-devel/llvm-dev version 13 or greater"
#endif

int main()
{
	llvm::errs() << "Hello World!\n";
	llvm::llvm_shutdown();
	return 0;
}