llvm-for-llvmta/test/MC/ELF/symbol-names.s

13 lines
255 B
ArmAsm
Raw Normal View History

2022-04-25 10:02:23 +02:00
// RUN: llvm-mc -triple i686-pc-linux -filetype=obj %s -o - | llvm-readobj --symbols - | FileCheck %s
// MC allows ?'s in symbol names as an extension.
.text
.globl foo?bar
.type foo?bar, @function
foo?bar:
ret
// CHECK: Symbol
// CHECK: Name: foo?bar