view lld/test/MachO/demangle.s @ 213:25ca0248ac32

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 11 Jul 2021 17:05:31 +0900
parents 2e18cbf3894f
children c4bab56944e8
line wrap: on
line source

# REQUIRES: x86

# RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %s -o %t.o

# RUN: not %lld %t.o -o /dev/null 2>&1 | FileCheck %s
# RUN: not %lld -demangle %t.o -o /dev/null 2>&1 | \
# RUN:     FileCheck --check-prefix=DEMANGLE %s

# CHECK: undefined symbol: __Z1fv
# DEMANGLE: undefined symbol: f()

.globl _main
_main:
  callq __Z1fv
  ret