mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-21 11:15:29 -04:00
Update a few switch statements to handle file_magic::pdb.
This fixes a couple of warnings. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@326927 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -119,6 +119,7 @@ ObjectFile::createObjectFile(MemoryBufferRef Object, file_magic Type) {
|
||||
case file_magic::archive:
|
||||
case file_magic::macho_universal_binary:
|
||||
case file_magic::windows_resource:
|
||||
case file_magic::pdb:
|
||||
return errorCodeToError(object_error::invalid_file_type);
|
||||
case file_magic::elf:
|
||||
case file_magic::elf_relocatable:
|
||||
|
||||
Reference in New Issue
Block a user