Mercurial > hg > CbC > CbC_llvm
view lld/test/MachO/rpath.s @ 213:25ca0248ac32
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 11 Jul 2021 17:05:31 +0900 |
parents | 2e18cbf3894f |
children |
line wrap: on
line source
# REQUIRES: x86 # RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %s -o %t.o # RUN: %lld -o %t %t.o ## Check that -rpath generates LC_RPATH. # RUN: %lld -o %t %t.o -rpath /some/rpath -rpath /another/rpath # RUN: llvm-objdump --macho --all-headers %t | FileCheck %s # CHECK: LC_RPATH # CHECK-NEXT: cmdsize 24 # CHECK-NEXT: path /some/rpath # CHECK: LC_RPATH # CHECK-NEXT: cmdsize 32 # CHECK-NEXT: path /another/rpath .text .global _main _main: mov $0, %rax ret