[all-commits] [llvm/llvm-project] 591721: [llvm] remove empty __LLVM segment in llvm-bitcode...

Richard Howell via All-commits all-commits at lists.llvm.org
Mon Mar 7 08:53:04 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 59172194389c92f14057cfe97d6c0b26a4b1a6f1
      https://github.com/llvm/llvm-project/commit/59172194389c92f14057cfe97d6c0b26a4b1a6f1
  Author: Richard Howell <rhow at fb.com>
  Date:   2022-03-07 (Mon, 07 Mar 2022)

  Changed paths:
    M llvm/include/llvm/ObjCopy/MachO/MachOConfig.h
    M llvm/lib/ObjCopy/MachO/MachOObjcopy.cpp
    A llvm/test/tools/llvm-objcopy/MachO/bitcode-strip-remove-nonempty-segment.test
    M llvm/test/tools/llvm-objcopy/MachO/bitcode-strip-remove.test
    M llvm/tools/llvm-objcopy/ObjcopyOptions.cpp

  Log Message:
  -----------
  [llvm] remove empty __LLVM segment in llvm-bitcode-strip

When running llvm-bitcode-strip we want to remove the __LLVM
segment as well as the __bundle section when there are no other
sections in the segment.

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




More information about the All-commits mailing list