[ObjectYAML][MachO] Add LC_FUNCTION_STARTS support
authorKeith Smiley <keithbsmiley@gmail.com>
Tue, 8 Feb 2022 01:33:32 +0000 (17:33 -0800)
committerKeith Smiley <keithbsmiley@gmail.com>
Sun, 13 Feb 2022 17:24:47 +0000 (09:24 -0800)
commita6e1b3c5c223e4868ab77d6d66b62f136b12febc
tree775e1872bbdbb3f382c74777108fd2c8e5a7f6e8
parentc45c53bbae2801123776983dbd36a751284fa097
[ObjectYAML][MachO] Add LC_FUNCTION_STARTS support

This adds support for encoding and decoding the LC_FUNCTION_STARTS load
command payload.

Differential Revision: https://reviews.llvm.org/D119205
llvm/include/llvm/Object/MachO.h
llvm/include/llvm/ObjectYAML/MachOYAML.h
llvm/lib/Object/MachOObjectFile.cpp
llvm/lib/ObjectYAML/MachOEmitter.cpp
llvm/lib/ObjectYAML/MachOYAML.cpp
llvm/test/ObjectYAML/MachO/function_starts.yaml [new file with mode: 0644]
llvm/tools/obj2yaml/macho2yaml.cpp