[llvm] [llvm-ifs] Treat unknown symbol types as error. (PR #75872)
James Henderson via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 20 01:02:20 PST 2023
================
@@ -201,6 +201,12 @@ Expected<std::unique_ptr<IFSStub>> ifs::readIFSFromBuffer(StringRef Buf) {
"IFS arch '" + *Stub->Target.ArchString + "' is unsupported");
Stub->Target.Arch = eMachine;
}
+ for (const auto &item : Stub->Symbols) {
----------------
jh7370 wrote:
```suggestion
for (const auto &Item : Stub->Symbols) {
```
https://github.com/llvm/llvm-project/pull/75872
More information about the llvm-commits
mailing list