[PATCH] D44236: [llvm-objcopy] Switch over to using TableGen for parsing arguments
Alexander Shaposhnikov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 7 17:19:13 PST 2018
alexshap added inline comments.
================
Comment at: llvm/tools/llvm-objcopy/llvm-objcopy.cpp:137
+ void SplitDWOToFile(const Reader &Reader, StringRef File, ElfType OutputElfType) const;
+};
----------------
for what it's worth, it seems to me this is kind of strange that a struct Config has these methods / logic (i mean CreateWriter, CreateReader, SplitDWOToFile). I've just looked at LLD which also has some kind of Config internally, but there the Config is not loaded with this business logic.
Repository:
rL LLVM
https://reviews.llvm.org/D44236
More information about the llvm-commits
mailing list