diff options
| author | Francis Ricci <francisjricci@gmail.com> | 2017-10-05 20:03:01 +0000 |
|---|---|---|
| committer | Francis Ricci <francisjricci@gmail.com> | 2017-10-05 20:03:01 +0000 |
| commit | 2b513b5c996c7ada1a5826d097cfde563bd5ca99 (patch) | |
| tree | f72242571d95e8f80e5f135a7b50e971fa19a5ff /llvm/test/tools/dsymutil/Inputs/swift-ast.swiftmodule | |
| parent | 7ae3ae9ef4cf3a427078bbb9f8ca4b4d0080569c (diff) | |
| download | bcm5719-llvm-2b513b5c996c7ada1a5826d097cfde563bd5ca99.tar.gz bcm5719-llvm-2b513b5c996c7ada1a5826d097cfde563bd5ca99.zip | |
[llvm-dsymutil] Add support for __swift_ast MachO DWARF section
Summary:
Xcode's dsymutil emits a __swift_ast DWARF section, which is required for debugging,
and which contains a byte-for-byte dump of the swiftmodule file.
Add this feature to llvm-dsymutil.
Tested with `gobjdump --dwarf=info -s`, by verifying that the contents of
`__DWARF.__swift_ast` match between Xcode's dsymutil and llvm-dsymutil
(Xcode's dwarfdump and llvm-dwarfdump don't currently recognize the
__swift_ast section).
Reviewers: aprantl, friss
Subscribers: llvm-commits, JDevlieghere
Differential Revision: https://reviews.llvm.org/D38504
llvm-svn: 315014
Diffstat (limited to 'llvm/test/tools/dsymutil/Inputs/swift-ast.swiftmodule')
| -rw-r--r-- | llvm/test/tools/dsymutil/Inputs/swift-ast.swiftmodule | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/test/tools/dsymutil/Inputs/swift-ast.swiftmodule b/llvm/test/tools/dsymutil/Inputs/swift-ast.swiftmodule new file mode 100644 index 00000000000..b9f59495119 --- /dev/null +++ b/llvm/test/tools/dsymutil/Inputs/swift-ast.swiftmodule @@ -0,0 +1 @@ +SWIFTMODULE DATA |

