SuccessChanges

Summary

  1. [dsymutil] Add support for linking remarks (details)
Commit 1ee18f275e60462d8c5e149fc74eaea9c671d4a8 by francisvm
[dsymutil] Add support for linking remarks
This adds support to dsymutil for linking remark files and placing them
in the final .dSYM bundle.
The result will be placed in:
* a.out.dSYM/Contents/Resources/Remarks/a.out or
* a.out.dSYM/Contents/Resources/Remarks/a.out-<arch> for universal
binaries
When multi-threaded, this runs a third thread which loops over all the
object files and parses remarks as it finds __remarks sections.
Testing this involves running dsymutil on pre-built binaries and object
files, then running llvm-bcanalyzer on the final result to check for
remarks.
Differential Revision: https://reviews.llvm.org/D69142
The file was addedllvm/test/tools/dsymutil/Inputs/remarks/basic2.macho.remarks.x86_64.o
The file was addedllvm/test/tools/dsymutil/Inputs/remarks/fat.macho.remarks.x86_64.opt.bitstream
The file was addedllvm/test/tools/dsymutil/X86/remarks-linking-fat-bundle.test
The file was modifiedllvm/test/tools/dsymutil/Inputs/basic1.c
The file was addedllvm/test/tools/dsymutil/Inputs/remarks/basic1.macho.remarks.x86_64.o
The file was addedllvm/test/tools/dsymutil/Inputs/remarks/fat.macho.remarks.x86_64h.opt.bitstream
The file was addedllvm/test/tools/dsymutil/Inputs/remarks/basic2.macho.remarks.x86_64.opt.bitstream
The file was addedllvm/test/tools/dsymutil/Inputs/remarks/fat.macho.remarks.i386.opt.bitstream
The file was modifiedllvm/test/tools/dsymutil/cmdline.test
The file was addedllvm/test/tools/dsymutil/Inputs/remarks/fat.macho.remarks.x86.c
The file was addedllvm/test/tools/dsymutil/Inputs/remarks/basic1.macho.remarks.x86_64.opt.bitstream
The file was addedllvm/test/tools/dsymutil/Inputs/remarks/fat.macho.remarks.x86.opt.bitstream
The file was modifiedllvm/tools/dsymutil/LinkUtils.h
The file was modifiedllvm/tools/dsymutil/Options.td
The file was addedllvm/test/tools/dsymutil/Inputs/remarks/basic3.macho.remarks.x86_64.opt.bitstream
The file was addedllvm/test/tools/dsymutil/Inputs/remarks/basic3.macho.remarks.x86_64.o
The file was addedllvm/test/tools/dsymutil/Inputs/remarks/fat.macho.remarks.x86.o
The file was modifiedllvm/tools/dsymutil/CMakeLists.txt
The file was addedllvm/test/tools/dsymutil/Inputs/remarks/fat.macho.remarks.x86
The file was addedllvm/test/tools/dsymutil/Inputs/remarks/basic.macho.remarks.x86_64
The file was modifiedllvm/tools/dsymutil/DwarfLinker.cpp
The file was modifiedllvm/tools/dsymutil/dsymutil.cpp
The file was addedllvm/test/tools/dsymutil/X86/remarks-linking-bundle.test
The file was modifiedllvm/test/tools/dsymutil/X86/basic-linking-bundle.test