[PATCH] D30530: [ELF] - Implemented -z text/-znotext
George Rimar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 3 05:38:29 PST 2017
grimar added inline comments.
================
Comment at: ELF/Driver.cpp:272
+ bool ZText = true;
+ for (auto *Arg : Args.filtered(OPT_z)) {
+ StringRef S = Arg->getValue();
----------------
ruiu wrote:
> Use llvm::reverse and return early.
That would not work out of box with filtered.
I prepared patch for that: D30570
https://reviews.llvm.org/D30530
More information about the llvm-commits
mailing list