hanchenye-llvm-project/llvm/tools
Alexander Shaposhnikov fedb01603c [llvm-objcopy] Make modifications in-place if output is not specified
If the output file is not specified make the modifications in-place 
(like binutils objcopy does). In particular, this fixes 
the behavior of Clang -gsplit-dwarf (if Clang is configured to use llvm-objcopy), 
previously it was creating .dwo files, but still leaving *dwo* sections in 
the original binary.

Test plan: make check-all

Differential revision: https://reviews.llvm.org/D42873

llvm-svn: 324783
2018-02-09 23:33:31 +00:00
..
bugpoint [bugpoint] Report non-existent opt binary 2018-02-09 06:09:15 +00:00
bugpoint-passes Remove redundant includes from tools. 2017-12-13 21:31:10 +00:00
dsymutil [dsymutil] Use llvm::sys::path to join bundle path. 2018-02-08 16:31:42 +00:00
gold gold-plugin: Do not set codegen opt level based on LTO opt level. 2018-02-08 02:41:22 +00:00
llc LLParser: add an argument for overriding data layout and do not check alloca addr space 2018-01-30 22:32:39 +00:00
lli [ORC] Remove Layer handles from the layer concept. 2018-02-09 02:30:40 +00:00
llvm-ar Remove redundant includes from tools. 2017-12-13 21:31:10 +00:00
llvm-as LLParser: add an argument for overriding data layout and do not check alloca addr space 2018-01-30 22:32:39 +00:00
llvm-as-fuzzer
llvm-bcanalyzer [ThinLTO] Serialize WithGlobalValueDeadStripping index flag for distributed backends 2018-02-07 04:05:59 +00:00
llvm-c-test [LLVM-C] Add Accessors For A Module's Source File Name 2018-01-30 21:34:29 +00:00
llvm-cat
llvm-cfi-verify Fix broken builds due to mismatched min/max types 2018-02-02 00:07:14 +00:00
llvm-config [cmake] Don't build Native llvm-config when cross compiling if passed by user. 2018-01-21 00:29:00 +00:00
llvm-cov [llvm-cov] Fix incorrect usage of .precision specifier in format() call. 2018-01-31 22:13:07 +00:00
llvm-cvtres [llvm-cvtres] Add support for ARM64 2017-11-10 22:27:41 +00:00
llvm-cxxdump Fix more inconsistent line endings. NFC. 2017-12-18 19:46:56 +00:00
llvm-cxxfilt Add opt-viewer testing 2017-11-29 17:07:41 +00:00
llvm-demangle-fuzzer llvm-demangle-fuzzer: Link in Support 2017-11-17 20:46:55 +00:00
llvm-diff Remove redundant includes from tools. 2017-12-13 21:31:10 +00:00
llvm-dis
llvm-dwarfdump [dwarfdump] Normalize input path. 2018-02-08 16:31:01 +00:00
llvm-dwp Thread MCSubtargetInfo through Target::createMCAsmBackend 2018-01-03 08:53:05 +00:00
llvm-extract [llvm-extract] Support extracting basic blocks 2018-01-23 21:51:34 +00:00
llvm-go Update some code.google.com links 2017-11-13 23:47:58 +00:00
llvm-isel-fuzzer [llvm-opt-fuzzer] Avoid adding incorrect inputs to the fuzzer corpus 2018-02-05 11:05:47 +00:00
llvm-jitlistener
llvm-link
llvm-lto [ThinLTO] Re-commit of dot dumper after test fix 2018-01-22 13:35:40 +00:00
llvm-lto2 [ThinLTO/gold] Write empty imports even for modules with symbols 2018-01-30 21:19:26 +00:00
llvm-mc Thread MCSubtargetInfo through Target::createMCAsmBackend 2018-01-03 08:53:05 +00:00
llvm-mc-assemble-fuzzer Rename MCTargetOptionsCommandFlags.h to .def as it is not a normal/modular header as much as it is for stamping out some global/static variables 2017-11-27 19:55:16 +00:00
llvm-mc-disassemble-fuzzer
llvm-mcmarkup Fix more inconsistent line endings. NFC. 2017-12-18 19:46:56 +00:00
llvm-modextract
llvm-mt [Option] Add 'findNearest' method to catch typos 2018-01-05 17:10:39 +00:00
llvm-nm llvm-nm should show a symbol type of T for symbols in the (__TEXT_EXEC,__text) section. 2018-01-31 00:00:41 +00:00
llvm-objcopy [llvm-objcopy] Make modifications in-place if output is not specified 2018-02-09 23:33:31 +00:00
llvm-objdump llvm-objdump when printing the Objective-C meta data also prints the Swift ABI 2018-02-09 19:31:27 +00:00
llvm-opt-fuzzer [llvm-opt-fuzzer] Fix build after rL324225 2018-02-05 12:47:40 +00:00
llvm-opt-report
llvm-pdbutil Fix MSVC "not all control paths return a value" warning. 2018-01-17 18:16:28 +00:00
llvm-profdata [llvm-profdata] Don't treat non-fatal merge errors as fatal 2017-11-17 21:18:32 +00:00
llvm-rc Fix typos of occurred and occurrence 2018-01-24 10:33:39 +00:00
llvm-readobj CodeGen: support an extension to pass linker options on ELF 2018-01-30 16:29:29 +00:00
llvm-rtdyld Remove redundant includes from tools. 2017-12-13 21:31:10 +00:00
llvm-shlib
llvm-size Fix more inconsistent line endings. NFC. 2017-12-18 19:46:56 +00:00
llvm-special-case-list-fuzzer
llvm-split
llvm-stress
llvm-strings [llvm-strings] Add support for the -a/--all options 2017-11-14 19:58:36 +00:00
llvm-symbolizer [tools] Add option to install binutils symlinks 2017-11-02 21:43:32 +00:00
llvm-xray [XRay] fix 99th percentile lookups by sorting the array correctly 2018-01-30 18:18:51 +00:00
lto Rename CommandFlags.h -> CommandFlags.def 2017-11-27 19:43:58 +00:00
msbuild
obj2yaml [WebAssembly] MC: Remove unused code for handling of wasm globals 2018-01-31 19:50:14 +00:00
opt LLParser: add an argument for overriding data layout and do not check alloca addr space 2018-01-30 22:32:39 +00:00
opt-viewer Fix some opt-viewer test issues and disable on Windows. 2018-01-05 22:05:13 +00:00
sancov Remove redundant includes from tools. 2017-12-13 21:31:10 +00:00
sanstats
verify-uselistorder
xcode-toolchain [llvm] Add stripped installation targets 2017-11-30 21:48:26 +00:00
yaml2obj Instead of ELFFile<ELFT>::Type, use ELFT::Type. NFC. 2018-01-12 02:28:31 +00:00
CMakeLists.txt
LLVMBuild.txt