[PATCH] D42222: [llvm-objcopy] Refactor llvm-objcopy to use reader and writer objects
Jake Ehrlich via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 22 13:53:06 PST 2018
jakehehrlich updated this revision to Diff 130955.
jakehehrlich added a comment.
Updated code to handle data ownership in a better way. Objects now own all their data using a shared_ptr. This eliminates the potential for dangling references if the Reader is not left open.
Repository:
rL LLVM
https://reviews.llvm.org/D42222
Files:
test/tools/llvm-objcopy/remove-shstrtab-error.test
tools/llvm-objcopy/Object.cpp
tools/llvm-objcopy/Object.h
tools/llvm-objcopy/llvm-objcopy.cpp
tools/llvm-objcopy/llvm-objcopy.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42222.130955.patch
Type: text/x-patch
Size: 59409 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180122/6b55e9ba/attachment-0001.bin>
More information about the llvm-commits
mailing list