
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
10 lines
321 B
Plaintext
10 lines
321 B
Plaintext
# REQUIRES: aarch64-registered-target
|
|
## This tests that archives are correctly created when the llvm
|
|
## has native assembly info
|
|
|
|
# RUN: llvm-as %p/Inputs/arm64-asm.ll -o %t-arm64-asm.bc
|
|
# RUN: llvm-libtool-darwin -static -o %t-arm64.lib %t-arm64-asm.bc
|
|
# RUN: llvm-nm %t-arm64.lib | FileCheck %s
|
|
|
|
# CHECK: T somesymbol
|