1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00
llvm-mirror/test/MC/ELF/section-quoting.s
Joerg Sonnenberger 5f2f5fa638 Be nice to Xcore and the XMOS assembler and avoid quoting section names
that contain only letters, digits and the characters "_" and ".".

llvm-svn: 127028
2011-03-04 20:03:14 +00:00

11 lines
251 B
ArmAsm

// RUN: llvm-mc -triple x86_64-pc-linux-gnu %s -o - | FileCheck %s
// Test that we handle the strings like gas
.section bar-"foo"
.section "foo"
.section "foo bar"
// CHECK: .section "bar-\"foo\""
// CHECK: .section foo
// CHECK: .section "foo bar"