[llvm] r270610 - Remove unused global variable.

Zachary Turner via llvm-commits llvm-commits at lists.llvm.org
Tue May 24 13:48:18 PDT 2016


Author: zturner
Date: Tue May 24 15:48:18 2016
New Revision: 270610

URL: http://llvm.org/viewvc/llvm-project?rev=270610&view=rev
Log:
Remove unused global variable.

Modified:
    llvm/trunk/tools/llvm-readobj/COFFDumper.cpp

Modified: llvm/trunk/tools/llvm-readobj/COFFDumper.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-readobj/COFFDumper.cpp?rev=270610&r1=270609&r2=270610&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-readobj/COFFDumper.cpp (original)
+++ llvm/trunk/tools/llvm-readobj/COFFDumper.cpp Tue May 24 15:48:18 2016
@@ -494,17 +494,6 @@ static const EnumEntry<uint32_t> SubSect
   LLVM_READOBJ_ENUM_CLASS_ENT(ModuleSubstreamKind, CoffSymbolRVA),
 };
 
-static const EnumEntry<uint8_t> ProcSymFlagNames[] = {
-    LLVM_READOBJ_ENUM_CLASS_ENT(ProcSymFlags, HasFP),
-    LLVM_READOBJ_ENUM_CLASS_ENT(ProcSymFlags, HasIRET),
-    LLVM_READOBJ_ENUM_CLASS_ENT(ProcSymFlags, HasFRET),
-    LLVM_READOBJ_ENUM_CLASS_ENT(ProcSymFlags, IsNoReturn),
-    LLVM_READOBJ_ENUM_CLASS_ENT(ProcSymFlags, IsUnreachable),
-    LLVM_READOBJ_ENUM_CLASS_ENT(ProcSymFlags, HasCustomCallingConv),
-    LLVM_READOBJ_ENUM_CLASS_ENT(ProcSymFlags, IsNoInline),
-    LLVM_READOBJ_ENUM_CLASS_ENT(ProcSymFlags, HasOptimizedDebugInfo),
-};
-
 static const EnumEntry<uint32_t> FrameDataFlags[] = {
     LLVM_READOBJ_ENUM_ENT(FrameData, HasSEH),
     LLVM_READOBJ_ENUM_ENT(FrameData, HasEH),




More information about the llvm-commits mailing list