[all-commits] [llvm/llvm-project] 61e543: [llvm-lipo] Support object files with bitcode asm

Vincent Lee via All-commits all-commits at lists.llvm.org
Mon Sep 12 18:14:51 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 61e54384982afa89539cc76b79a42af883b172f2
      https://github.com/llvm/llvm-project/commit/61e54384982afa89539cc76b79a42af883b172f2
  Author: Vincent Lee <leevince at fb.com>
  Date:   2022-09-12 (Mon, 12 Sep 2022)

  Changed paths:
    A llvm/test/tools/llvm-lipo/Inputs/arm64-asm.ll
    A llvm/test/tools/llvm-lipo/Inputs/x86_64-asm.ll
    A llvm/test/tools/llvm-lipo/create-arch-asm.test
    M llvm/tools/llvm-lipo/llvm-lipo.cpp

  Log Message:
  -----------
  [llvm-lipo] Support object files with bitcode asm

llvm-lipo crashes when trying to use inputs that contain bitcode asm instructions.
This happens when trying to create universal binaries for LLVM with LTO.
https://reviews.llvm.org/D118575 is a similar change that ran into this same issue, and I'm
mirroring the same change by registering the targets to fix this issue.

Reviewed By: alexander-shaposhnikov, keith

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




More information about the All-commits mailing list