[all-commits] [llvm/llvm-project] 6da58e: [Object][MachO] Rewrite macho-invalid-fat-arch-siz...

Steven Wu via All-commits all-commits at lists.llvm.org
Wed Nov 6 11:26:48 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6da58e7e0fac1e421d6a5a6e48ed8836c67ac543
      https://github.com/llvm/llvm-project/commit/6da58e7e0fac1e421d6a5a6e48ed8836c67ac543
  Author: Steven Wu <stevenwu at apple.com>
  Date:   2019-11-06 (Wed, 06 Nov 2019)

  Changed paths:
    M llvm/lib/ObjectYAML/MachOEmitter.cpp
    R llvm/test/Object/Inputs/macho-invalid-fat-arch-size
    A llvm/test/Object/Inputs/macho-invalid-fat-arch-size.yaml
    M llvm/test/Object/macho-invalid.test

  Log Message:
  -----------
  [Object][MachO] Rewrite macho-invalid-fat-arch-size into YAML

Summary:
Rewrite one of the invalid macho test input file with YAML file. The
original invalid macho is breaking our internal test infrastusture
because it is too broken to be copy around.

Need to relax an assertion in the YAML/MachoEmitter to allow yaml2obj to
write an invalid object like this.

rdar://problem/56879982

Reviewers: beanz, mtrent

Reviewed By: beanz

Subscribers: hiraditya, jkorous, dexonsmith, ributzka, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D69856




More information about the All-commits mailing list