summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/GlobalISel/EmptyFile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/CodeGen/GlobalISel/EmptyFile.cpp')
-rw-r--r--llvm/lib/CodeGen/GlobalISel/EmptyFile.cpp24
1 files changed, 0 insertions, 24 deletions
diff --git a/llvm/lib/CodeGen/GlobalISel/EmptyFile.cpp b/llvm/lib/CodeGen/GlobalISel/EmptyFile.cpp
deleted file mode 100644
index cc509ff1e87..00000000000
--- a/llvm/lib/CodeGen/GlobalISel/EmptyFile.cpp
+++ /dev/null
@@ -1,24 +0,0 @@
-//===-- llvm/CodeGen/GlobalISel/EmptyFile.cpp ------ EmptyFile ---*- C++ -*-==//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-/// \file
-/// The purpose of this file is to please cmake by not creating an
-/// empty library when we do not build GlobalISel.
-/// \todo This file should be removed when GlobalISel is not optional anymore.
-//===----------------------------------------------------------------------===//
-
-#include "llvm/Support/Compiler.h"
-
-
-namespace llvm {
-// Export a global symbol so that ranlib does not complain
-// about the TOC being empty for the global-isel library when
-// we do not build global-isel.
-LLVM_ATTRIBUTE_UNUSED void DummyFunctionToSilenceRanlib(void) {
-}
-}
OpenPOWER on IntegriCloud