aboutsummaryrefslogtreecommitdiff
path: root/deps/lld/Common/Version.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2020-01-16 13:09:45 -0500
committerAndrew Kelley <andrew@ziglang.org>2020-01-16 13:09:45 -0500
commitba4cc03b4f0d71ac3e0147aa3dde449299ce8cd5 (patch)
tree88e0c274db5c1c943944c565833bea103692a556 /deps/lld/Common/Version.cpp
parentfbe6af81fdb1b964bb0c28f51de2458800b8274c (diff)
downloadzig-ba4cc03b4f0d71ac3e0147aa3dde449299ce8cd5.tar.gz
zig-ba4cc03b4f0d71ac3e0147aa3dde449299ce8cd5.zip
remove embedded LLD
we no longer have any patches against upstream LLD
Diffstat (limited to 'deps/lld/Common/Version.cpp')
-rw-r--r--deps/lld/Common/Version.cpp27
1 files changed, 0 insertions, 27 deletions
diff --git a/deps/lld/Common/Version.cpp b/deps/lld/Common/Version.cpp
deleted file mode 100644
index ae10f2f28b..0000000000
--- a/deps/lld/Common/Version.cpp
+++ /dev/null
@@ -1,27 +0,0 @@
-//===- lib/Common/Version.cpp - LLD Version Number ---------------*- C++-=====//
-//
-// 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
-//
-//===----------------------------------------------------------------------===//
-//
-// This file defines several version-related utility functions for LLD.
-//
-//===----------------------------------------------------------------------===//
-
-#include "lld/Common/Version.h"
-
-#ifdef HAVE_VCS_VERSION_INC
-#include "VCSVersion.inc"
-#endif
-
-// Returns a version string, e.g.:
-// lld 9.0.0 (https://github.com/llvm/llvm-project.git 9efdd7ac5e914d3c9fa1ef)
-std::string lld::getLLDVersion() {
-#if defined(LLD_REPOSITORY) && defined(LLD_REVISION)
- return "LLD " LLD_VERSION_STRING " (" LLD_REPOSITORY " " LLD_REVISION ")";
-#else
- return "LLD " LLD_VERSION_STRING;
-#endif
-}