[PATCH] D88827: [llvm-objcopy][NFC] Move core implementation of llvm-objcopy into separate library.
James Henderson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 18 03:07:25 PST 2021
jhenderson added inline comments.
================
Comment at: llvm/lib/Object/CMakeLists.txt:32-47
+ ObjCopy/ObjCopy.cpp
+ ObjCopy/COFF/COFFObjcopy.cpp
+ ObjCopy/COFF/Object.cpp
+ ObjCopy/COFF/Reader.cpp
+ ObjCopy/COFF/Writer.cpp
+ ObjCopy/ELF/ELFObjcopy.cpp
+ ObjCopy/ELF/Object.cpp
----------------
avl wrote:
> jhenderson wrote:
> > I thought ObjCopy was going to be its own distinct library, not a part of the Object library? It would make more sense to me for it to be separate, as it's a fairly distinct piece of functionality.
> It was directly requested to implement it as part of Object library during the previous review iteration:
>
> https://reviews.llvm.org/D88827#2344900
Right, there was some opposition from @sbc100 though. I think we need to hear their thoughts on that.
If we do end up putting it in libObject, should the namespace be changed? Not sure either way.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D88827/new/
https://reviews.llvm.org/D88827
More information about the llvm-commits
mailing list