blob: 9571aa2743e5b254afac4468f091285d27f9d687 [file] [log] [blame]
Yi Kong83283012023-12-13 12:57:00 +09001//===- lld/Common/Version.h - LLD Version Number ----------------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8//
9// Defines a version-related utility function.
10//
11//===----------------------------------------------------------------------===//
12
13#ifndef LLD_VERSION_H
14#define LLD_VERSION_H
15
16#include "lld/Common/Version.inc"
17#include "llvm/ADT/StringRef.h"
18
19namespace lld {
20/// Retrieves a string representing the complete lld version.
21std::string getLLDVersion();
22}
23
24#endif // LLD_VERSION_H