[PATCH] D58173: [llvm-objcopy] Add --set-start, --change-start, --adjust-start
James Henderson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 25 02:38:45 PST 2019
jhenderson added inline comments.
================
Comment at: tools/llvm-objcopy/CopyConfig.cpp:572
+ auto Expr = Config.EntryExpr ? std::move(Config.EntryExpr)
+ : [](uint64_t A) { return A; };
+ Config.EntryExpr = [Expr, EIncr](uint64_t EAddr) {
----------------
evgeny777 wrote:
> jhenderson wrote:
> > Could you just make this the default? I.e. set Config.EntryExpr to return the input unless something overrides it?
> How to deal with COFF variant? Setting this option should be an error in such case.
Ah, I didn't think about COFF here, fair enough.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D58173/new/
https://reviews.llvm.org/D58173
More information about the llvm-commits
mailing list