[llvm] r222209 - Fix covered switch warning

Michael J. Spencer bigcheesegs at gmail.com
Mon Nov 17 17:26:46 PST 2014


Author: mspencer
Date: Mon Nov 17 19:26:46 2014
New Revision: 222209

URL: http://llvm.org/viewvc/llvm-project?rev=222209&view=rev
Log:
Fix covered switch warning

Modified:
    llvm/trunk/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp

Modified: llvm/trunk/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp?rev=222209&r1=222208&r2=222209&view=diff
==============================================================================
--- llvm/trunk/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp (original)
+++ llvm/trunk/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp Mon Nov 17 19:26:46 2014
@@ -804,6 +804,7 @@ RuntimeDyld::loadObject(std::unique_ptr<
   auto *InputBufferPtr = InputBuffer.get();
 
   switch (Type) {
+  case sys::fs::file_magic::elf:
   case sys::fs::file_magic::elf_relocatable:
   case sys::fs::file_magic::elf_executable:
   case sys::fs::file_magic::elf_shared_object:





More information about the llvm-commits mailing list