diff options
author | Zachary Turner <zturner@google.com> | 2018-03-07 18:58:33 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2018-03-07 18:58:33 +0000 |
commit | aac28f31b3903b907dcb50ea7e4e0bbe22c944bf (patch) | |
tree | defc819bc6512eb2d44c2019b5063cb80eb43d99 /llvm/lib/Object/SymbolicFile.cpp | |
parent | b2da08610327d32474a931502c03f486ccbe36ac (diff) | |
download | bcm5719-llvm-aac28f31b3903b907dcb50ea7e4e0bbe22c944bf.tar.gz bcm5719-llvm-aac28f31b3903b907dcb50ea7e4e0bbe22c944bf.zip |
Update a few switch statements to handle file_magic::pdb.
This fixes a couple of warnings.
llvm-svn: 326927
Diffstat (limited to 'llvm/lib/Object/SymbolicFile.cpp')
-rw-r--r-- | llvm/lib/Object/SymbolicFile.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Object/SymbolicFile.cpp b/llvm/lib/Object/SymbolicFile.cpp index 2e7f2cc0d1d..3e998a2682b 100644 --- a/llvm/lib/Object/SymbolicFile.cpp +++ b/llvm/lib/Object/SymbolicFile.cpp @@ -52,6 +52,7 @@ SymbolicFile::createSymbolicFile(MemoryBufferRef Object, file_magic Type, case file_magic::coff_cl_gl_object: 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_executable: |