[dsymutil] Upstream emitting of papertrail warnings.
authorJonas Devlieghere <jonas@devlieghere.com>
Mon, 2 Apr 2018 10:40:43 +0000 (10:40 +0000)
committerJonas Devlieghere <jonas@devlieghere.com>
Mon, 2 Apr 2018 10:40:43 +0000 (10:40 +0000)
commit9e3e7a99e81dd9e500147e4914cbfaeb0c559d7d
tree8fe06f3728d960835f0b58c20a93f087d1be96a7
parent3f0bda296da60ab78c4bb0371bd0433ebb3fc425
[dsymutil] Upstream emitting of papertrail warnings.

When running dsymutil as part of your build system, it can be desirable
for warnings to be part of the end product, rather than just being
emitted to the output stream. This patch upstreams that functionality.

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

llvm-svn: 328965
llvm/docs/CommandGuide/dsymutil.rst
llvm/lib/CodeGen/AsmPrinter/DIE.cpp
llvm/test/tools/dsymutil/X86/papertrail-warnings.test [new file with mode: 0644]
llvm/test/tools/dsymutil/cmdline.test
llvm/test/tools/dsymutil/debug-map-parsing.test
llvm/tools/dsymutil/DebugMap.h
llvm/tools/dsymutil/DwarfLinker.cpp
llvm/tools/dsymutil/MachODebugMapParser.cpp
llvm/tools/dsymutil/dsymutil.cpp
llvm/tools/dsymutil/dsymutil.h