[all-commits] [llvm/llvm-project] cd1a59: [lipo] add -remove flag (#188275)

Richard Howell via All-commits all-commits at lists.llvm.org
Tue Mar 24 13:11:05 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cd1a598d8677cd33a8c41c83f45c4381ebeb143e
      https://github.com/llvm/llvm-project/commit/cd1a598d8677cd33a8c41c83f45c4381ebeb143e
  Author: Richard Howell <rmaz at users.noreply.github.com>
  Date:   2026-03-24 (Tue, 24 Mar 2026)

  Changed paths:
    A llvm/test/tools/llvm-lipo/remove.test
    M llvm/tools/llvm-lipo/LipoOpts.td
    M llvm/tools/llvm-lipo/llvm-lipo.cpp

  Log Message:
  -----------
  [lipo] add -remove flag (#188275)

Add the -remove flag to llvm-lipo. This matches the existing Darwin lipo
tool:
```
% xcrun lipo 2>&1 | grep remove
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: one of -create, -thin <arch_type>, -extract <arch_type>, -remove <arch_type>, -replace <arch_type> <file_name>, -verify_arch <arch_type> ... , -archs, -info, or -detailed_info must be specified
    -remove <arch_type> [-remove <arch_type> ...]
```
Assisted-by: claude-code



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list