From fc095209b84c0d3b97a26c0fe5d76860e9d08272 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Sat, 1 Nov 2014 23:49:44 +0000 Subject: [PATCH] Fix the build of the gold plugin. I did the previous patch on OS X and didn't noticed the issue. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221070 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/gold/gold-plugin.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/gold/gold-plugin.cpp b/tools/gold/gold-plugin.cpp index 87d7a4fa0ad..9905d489b55 100644 --- a/tools/gold/gold-plugin.cpp +++ b/tools/gold/gold-plugin.cpp @@ -473,7 +473,6 @@ static GlobalObject *makeInternalReplacement(GlobalObject *GO) { if (auto *F = dyn_cast(GO)) { if (F->materialize()) message(LDPL_FATAL, "LLVM gold plugin has failed to read a function"); - } auto *NewF = Function::Create(F->getFunctionType(), F->getLinkage(), F->getName(), M);