[llvm-dev] lld/mach-o x86_64 asserts

Davide Italiano via llvm-dev llvm-dev at lists.llvm.org
Wed Jul 11 07:45:47 PDT 2018


On Tue, Jul 10, 2018 at 10:12 PM Carlo Kok via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
>
> That sounds quite reasaonable; how does one usually go about doing that? a repro zip that hits both asserts?
>

You can take inspiration from anything in lld/test, but basically
either an assembly source (or multiple) passed through llvm-mc and
then lld, or a YAML file passed to yaml2obj (and then lld). From what
I see the Mach-O backend prefers YAML-style testing, but I don't think
that's a strict requirement.

Thanks,

--
Davide


More information about the llvm-dev mailing list