[llvm] r221070 - Fix the build of the gold plugin.
Rafael Espindola
rafael.espindola at gmail.com
Sat Nov 1 16:49:44 PDT 2014
Author: rafael
Date: Sat Nov 1 18:49:44 2014
New Revision: 221070
URL: http://llvm.org/viewvc/llvm-project?rev=221070&view=rev
Log:
Fix the build of the gold plugin.
I did the previous patch on OS X and didn't noticed the issue.
Modified:
llvm/trunk/tools/gold/gold-plugin.cpp
Modified: llvm/trunk/tools/gold/gold-plugin.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/gold/gold-plugin.cpp?rev=221070&r1=221069&r2=221070&view=diff
==============================================================================
--- llvm/trunk/tools/gold/gold-plugin.cpp (original)
+++ llvm/trunk/tools/gold/gold-plugin.cpp Sat Nov 1 18:49:44 2014
@@ -473,7 +473,6 @@ static GlobalObject *makeInternalReplace
if (auto *F = dyn_cast<Function>(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);
More information about the llvm-commits
mailing list