[PATCH] D49079: [dsymutil] Add support for outputting assembly
Jonas Devlieghere via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 9 07:48:33 PDT 2018
JDevlieghere created this revision.
JDevlieghere added reviewers: friss, thegameg.
Herald added a subscriber: aprantl.
When implementing the DWARF accelerator tables in dsymutil I ran into an assertion in the assembler. Debugging these kind of issues is a lot easier when looking at the assembly instead of debugging the assembler itself. Since it's only a matter of creating an AsmStreamer instead of a MCObjectStreamer it made sense to turn this into a (hidden) dsymutil feature.
Repository:
rL LLVM
https://reviews.llvm.org/D49079
Files:
llvm/test/tools/dsymutil/X86/assembly-output.test
llvm/tools/dsymutil/DwarfLinker.cpp
llvm/tools/dsymutil/DwarfStreamer.cpp
llvm/tools/dsymutil/DwarfStreamer.h
llvm/tools/dsymutil/LinkUtils.h
llvm/tools/dsymutil/dsymutil.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49079.154603.patch
Type: text/x-patch
Size: 7363 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180709/64298d10/attachment.bin>
More information about the llvm-commits
mailing list