llvm/test/MC/ELF/section-quoting.s
Joerg Sonnenberger 89e0f386f3 Be nice to Xcore and the XMOS assembler and avoid quoting section names
that contain only letters, digits and the characters "_" and ".".


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127028 91177308-0d34-0410-b5e6-96231b3b80d8
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"