brintos

brintos / llvm-project-archived public Read only

0
0
Text · 550 B · 5dcb171 Raw
28 lines · plain
1# REQUIRES: aarch642 3# RUN: llvm-mc -filetype=obj -triple=arm64-apple-darwin %s -o %t.o4 5# RUN: %lld -arch arm64 -lSystem -U _objc_msgSend -o %t.out %t.o6# RUN: llvm-nm %t.out | FileCheck %s7# RUN: %lld -arch arm64 -lSystem -U _objc_msgSend -dead_strip -o %t.out %t.o8# RUN: llvm-nm %t.out | FileCheck %s --check-prefix=DEAD9 10# CHECK: _foo11# CHECK: _objc_msgSend$length12 13# DEAD-NOT: _foo14# DEAD-NOT: _objc_msgSend$length15 16.section __TEXT,__text17 18.globl _foo19_foo:20  bl  _objc_msgSend$length21  ret22 23.globl _main24_main:25  ret26 27.subsections_via_symbols28