aboutsummaryrefslogtreecommitdiff
blob: 1cfc32b1f3b9a0fd31957b25d6d42a64072abcbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# REQUIRES: x86
# RUN: mkdir -p %t
# RUN: llvm-mc -filetype obj -triple x86_64-apple-darwin %s -o %t/test.o
# RUN: %lld -o %t/test -framework CoreFoundation %t/test.o
#
# RUN: llvm-objdump --macho --dylibs-used %t/test | FileCheck %s
# CHECK: /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation

.section __TEXT,__text
.global _main

_main:
  movq __CFBigNumGetInt128@GOTPCREL(%rip), %rax
  ret