[PATCH] D158004: llvm-nm ignore the Import symbol file for the --export-symbol option.
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 25 00:59:26 PDT 2023
MaskRay added inline comments.
================
Comment at: llvm/lib/Object/ObjectFile.cpp:193
return createWasmObjectFile(Object);
+ default:
+ llvm_unreachable("Unexpected Object File Type");
----------------
Without a default, `-Wswitch` can catch future addition to the enum members. This change will nullify this use.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D158004/new/
https://reviews.llvm.org/D158004
More information about the llvm-commits
mailing list