[PATCH] D88288: [Archive] Don't throw away errors for malformed archive members
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 25 11:13:23 PDT 2020
MaskRay added inline comments.
================
Comment at: llvm/lib/Object/SymbolicFile.cpp:106
+ case file_magic::tapi_file:
+ return false;
+ }
----------------
```
default:
return true;
```
resolves a clang warning: `Object/SymbolicFile.cpp:97:11: warning: 23 enumeration values not handled in switch: 'bitcode', 'elf', 'elf_relocatable'... [-Wswitch]`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D88288/new/
https://reviews.llvm.org/D88288
More information about the llvm-commits
mailing list