[all-commits] [llvm/llvm-project] dbed14: [llvm-libtool-darwin] Fix crash with bitcode asm m...

Keith Smiley via All-commits all-commits at lists.llvm.org
Fri Feb 4 10:55:49 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dbed14d215fed740e0e26784e7b8b00b68f5e680
      https://github.com/llvm/llvm-project/commit/dbed14d215fed740e0e26784e7b8b00b68f5e680
  Author: Keith Smiley <keithbsmiley at gmail.com>
  Date:   2022-02-04 (Fri, 04 Feb 2022)

  Changed paths:
    A llvm/test/tools/llvm-libtool-darwin/Inputs/arm64-asm.ll
    A llvm/test/tools/llvm-libtool-darwin/Inputs/x86_64-asm.ll
    A llvm/test/tools/llvm-libtool-darwin/arm64-asm.test
    A llvm/test/tools/llvm-libtool-darwin/x86_64-asm.test
    M llvm/tools/llvm-libtool-darwin/CMakeLists.txt
    M llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp

  Log Message:
  -----------
  [llvm-libtool-darwin] Fix crash with bitcode asm module

When using llvm-libtool-darwin with LTO building llvm itself, it crashed
on a file with an asm module in the bitcode. This fixes that by
correctly registering the targets for this.

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




More information about the All-commits mailing list