[PATCH] D56683: [llvm-objcopy] [COFF] Add support for removing sections
Martin Storsjö via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 16 13:43:58 PST 2019
mstorsjo updated this revision to Diff 182137.
mstorsjo added a comment.
Tweaked the scope of lambdas in removeSections to avoid use-after-free of stack variables in the implementation of the lambda captures, as pointed out by asan.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D56683/new/
https://reviews.llvm.org/D56683
Files:
test/tools/llvm-objcopy/COFF/remove-section.yaml
tools/llvm-objcopy/COFF/COFFObjcopy.cpp
tools/llvm-objcopy/COFF/Object.cpp
tools/llvm-objcopy/COFF/Object.h
tools/llvm-objcopy/COFF/Reader.cpp
tools/llvm-objcopy/COFF/Writer.cpp
tools/llvm-objcopy/COFF/Writer.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56683.182137.patch
Type: text/x-patch
Size: 23686 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190116/21f5e426/attachment-0001.bin>
More information about the llvm-commits
mailing list