summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2014-11-18 01:26:46 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2014-11-18 01:26:46 +0000
commit21245af8e709d8227935b5ecd950348642519466 (patch)
tree69e978b592bcc76faf7976e88c7c86154a6b26e6 /llvm/lib/ExecutionEngine
parentbbd875b6ad69d8c2bffb96698e25ea2e401960eb (diff)
downloadbcm5719-llvm-21245af8e709d8227935b5ecd950348642519466.tar.gz
bcm5719-llvm-21245af8e709d8227935b5ecd950348642519466.zip
Fix covered switch warning
llvm-svn: 222209
Diffstat (limited to 'llvm/lib/ExecutionEngine')
-rw-r--r--llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
index 83c098ded0c..c7c67f6a1e4 100644
--- a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
+++ b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
@@ -804,6 +804,7 @@ RuntimeDyld::loadObject(std::unique_ptr<ObjectBuffer> InputBuffer) {
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:
OpenPOWER on IntegriCloud