llvm-project/llvm/tools/llvm-objcopy
Martin Storsjo 14cfa9ae2e [llvm-objcopy] [COFF] Avoid memcpy() with null parameters in more places. NFC.
This fixes all cases of errors in asan+ubsan builds.

Also use std::copy instead of if+memcpy in the previously updated spot,
for consistency.

llvm-svn: 349826
2018-12-20 21:35:59 +00:00
..
COFF [llvm-objcopy] [COFF] Avoid memcpy() with null parameters in more places. NFC. 2018-12-20 21:35:59 +00:00
ELF [llvm-objcopy] Use ELFOSABI_NONE instead of 0. NFC. 2018-12-20 10:59:52 +00:00
Buffer.cpp [llvm-objcopy] Factor out Buffer 2018-10-16 05:40:18 +00:00
Buffer.h [llvm-objcopy] Factor out Buffer 2018-10-16 05:40:18 +00:00
CMakeLists.txt [llvm-objcopy] Initial COFF support 2018-12-19 07:24:38 +00:00
CopyConfig.cpp [llvm-objcopy] Change --only-keep to --only-section 2018-12-06 02:03:53 +00:00
CopyConfig.h [llvm-objcopy] Change --only-keep to --only-section 2018-12-06 02:03:53 +00:00
LLVMBuild.txt Recommit "[llvm-objcopy] Switch over to using TableGen for parsing arguments" 2018-04-24 05:43:32 +00:00
ObjcopyOpts.td [llvm-objcopy] Change --only-keep to --only-section 2018-12-06 02:03:53 +00:00
StripOpts.td [llvm-objcopy] Hook up the -V alias to --version, output "GNU strip" 2018-11-28 06:51:50 +00:00
llvm-objcopy.cpp [llvm-objcopy] Initial COFF support 2018-12-19 07:24:38 +00:00
llvm-objcopy.h [Support] Make error banner optional in logAllUnhandledErrors 2018-11-11 01:46:03 +00:00