summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object/Binary.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2016-11-15 00:58:50 +0000
committerRui Ueyama <ruiu@google.com>2016-11-15 00:58:50 +0000
commite97c34cb60775b29e887de9ca2495c7dee5d627c (patch)
tree9158e72443b34c0e50679ec07623820a04a0c925 /llvm/lib/Object/Binary.cpp
parent2d02166b430737a7ca910bfe72946b4119673da2 (diff)
downloadbcm5719-llvm-e97c34cb60775b29e887de9ca2495c7dee5d627c.tar.gz
bcm5719-llvm-e97c34cb60775b29e887de9ca2495c7dee5d627c.zip
Fix -Wswitch.
llvm-svn: 286920
Diffstat (limited to 'llvm/lib/Object/Binary.cpp')
-rw-r--r--llvm/lib/Object/Binary.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Object/Binary.cpp b/llvm/lib/Object/Binary.cpp
index ec051fec375..2d2192d2a14 100644
--- a/llvm/lib/Object/Binary.cpp
+++ b/llvm/lib/Object/Binary.cpp
@@ -67,6 +67,7 @@ Expected<std::unique_ptr<Binary>> object::createBinary(MemoryBufferRef Buffer,
case sys::fs::file_magic::macho_universal_binary:
return MachOUniversalBinary::create(Buffer);
case sys::fs::file_magic::unknown:
+ case sys::fs::file_magic::coff_cl_gl_object:
case sys::fs::file_magic::windows_resource:
// Unrecognized object file format.
return errorCodeToError(object_error::invalid_file_type);
OpenPOWER on IntegriCloud