[PATCH] D149917: [lld][WebAssembly] Add --keep-section flag
Derek Schuff via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 30 14:58:44 PDT 2023
dschuff added inline comments.
================
Comment at: lld/wasm/Options.td:196
+defm keep_section: Eq<"keep-section",
+ "Preserve a section even when --strip-all is given. This is useful for compiler drivers such as clang or emcc that, for example, depend on the features section for post-link processing.">;
----------------
Can this flag be used more than once? From the code it looks like maybe it can, but the description should maybe say that and there should be a test (probably I should have written one for objcopy/strip too)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D149917/new/
https://reviews.llvm.org/D149917
More information about the cfe-commits
mailing list