Mercurial > hg > CbC > CbC_llvm
view lld/test/MachO/no-id-dylink.s @ 192:d7606dcf6fce
Added tag llvm10 for changeset 0572611fdcc8
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 14 Dec 2020 18:01:34 +0900 |
parents | 0572611fdcc8 |
children |
line wrap: on
line source
# REQUIRES: x86 # RUN: mkdir -p %t # RUN: yaml2obj %p/Inputs/no-id-dylib.yaml -o %t/libnoid.dylib # RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %s -o %t/no-id-dylink.o # RUN: not lld -flavor darwinnew -o %t/no-id-dylink -Z -L%t -lnoid %t/no-id-dylink.o 2>&1 | FileCheck %s # CHECK: error: dylib {{.*}}libnoid.dylib missing LC_ID_DYLIB load command .text .globl _main _main: mov $0, %rax ret