From dbedae89b90327ff464e8fc4d66bf328331b871c Mon Sep 17 00:00:00 2001 From: Juergen Ributzka Date: Fri, 15 Nov 2013 22:34:48 +0000 Subject: [weak vtables] Remove a bunch of weak vtables This patch removes most of the trivial cases of weak vtables by pinning them to a single object file. Differential Revision: http://llvm-reviews.chandlerc.com/D2068 Reviewed by Andy llvm-svn: 194865 --- llvm/lib/Target/SystemZ/SystemZMachineFunctionInfo.cpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 llvm/lib/Target/SystemZ/SystemZMachineFunctionInfo.cpp (limited to 'llvm/lib/Target/SystemZ/SystemZMachineFunctionInfo.cpp') diff --git a/llvm/lib/Target/SystemZ/SystemZMachineFunctionInfo.cpp b/llvm/lib/Target/SystemZ/SystemZMachineFunctionInfo.cpp new file mode 100644 index 00000000000..00572d0b9d7 --- /dev/null +++ b/llvm/lib/Target/SystemZ/SystemZMachineFunctionInfo.cpp @@ -0,0 +1,17 @@ +//== SystemZMachineFuctionInfo.cpp - SystemZ machine function info-*- C++ -*-=// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + +#include "SystemZMachineFunctionInfo.h" + +using namespace llvm; + + +// pin vtable to this file +void SystemZMachineFunctionInfo::anchor() {} + -- cgit v1.2.3