You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
379 B
17 lines
379 B
# 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
|
|
# RUN: llvm-objdump --macho --all-headers %t | FileCheck %s
|
|
# CHECK: LC_RPATH
|
|
# CHECK-NEXT: cmdsize 24
|
|
# CHECK-NEXT: path /some/rpath
|
|
|
|
.text
|
|
.global _main
|
|
_main:
|
|
mov $0, %rax
|
|
ret
|