brintos

brintos / llvm-project-archived public Read only

0
0
Text · 459 B · faedeb6 Raw
19 lines · plain
1# RUN: llvm-mc -triple=x86_64-apple-macosx10.9 -filetype=obj -o %t %s2# RUN: llvm-jitlink -noexec %t -show-graphs='.*' | FileCheck %s3 4# CHECK: linkage: weak, scope: local, live  -   _foo_weak5 6# _foo_weak is weak and local. Make sure we can link it.7  .section  __TEXT,__text,regular,pure_instructions8  .weak_definition  _foo_weak9  .p2align  4, 0x9010_foo_weak:11  retq12 13  .globl  _main14  .p2align  4, 0x9015_main:16  jmp _foo_weak17 18  .subsections_via_symbols19