[llvm] r267429 - [gold-plugin] Remove dead assignment. NFC.

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 25 10:18:45 PDT 2016


Author: davide
Date: Mon Apr 25 12:18:45 2016
New Revision: 267429

URL: http://llvm.org/viewvc/llvm-project?rev=267429&view=rev
Log:
[gold-plugin] Remove dead assignment. NFC.

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=267429&r1=267428&r2=267429&view=diff
==============================================================================
--- llvm/trunk/tools/gold/gold-plugin.cpp (original)
+++ llvm/trunk/tools/gold/gold-plugin.cpp Mon Apr 25 12:18:45 2016
@@ -515,7 +515,6 @@ static ld_plugin_status claim_file_hook(
       Res.Visibility = getMinVisibility(Res.Visibility, GV->getVisibility());
       switch (GV->getVisibility()) {
       case GlobalValue::DefaultVisibility:
-        sym.visibility = LDPV_DEFAULT;
         break;
       case GlobalValue::HiddenVisibility:
         sym.visibility = LDPV_HIDDEN;




More information about the llvm-commits mailing list