diff options
author | Joerg Sonnenberger <joerg@bec.de> | 2011-03-03 22:31:08 +0000 |
---|---|---|
committer | Joerg Sonnenberger <joerg@bec.de> | 2011-03-03 22:31:08 +0000 |
commit | ea83b133503afcd6589cf317cbb54ccd9e100f57 (patch) | |
tree | f282cb26d95a61d769e218e0ef5e5245e4d75bb0 /test/CodeGen/XCore | |
parent | bbd0f45b4711ee54f1c636a6de7afa766c855327 (diff) | |
download | llvm-ea83b133503afcd6589cf317cbb54ccd9e100f57.tar.gz llvm-ea83b133503afcd6589cf317cbb54ccd9e100f57.tar.bz2 llvm-ea83b133503afcd6589cf317cbb54ccd9e100f57.tar.xz |
Bug#9033: For the ELF assembler output, always quote the section name.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126963 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/XCore')
-rw-r--r-- | test/CodeGen/XCore/constants.ll | 2 | ||||
-rw-r--r-- | test/CodeGen/XCore/globals.ll | 16 | ||||
-rw-r--r-- | test/CodeGen/XCore/tls.ll | 2 |
3 files changed, 10 insertions, 10 deletions
diff --git a/test/CodeGen/XCore/constants.ll b/test/CodeGen/XCore/constants.ll index cad1a2153f..10cf9a75df 100644 --- a/test/CodeGen/XCore/constants.ll +++ b/test/CodeGen/XCore/constants.ll @@ -1,6 +1,6 @@ ; RUN: llc < %s -march=xcore -mcpu=xs1b-generic | FileCheck %s -; CHECK: .section .cp.rodata.cst4,"aMc",@progbits,4 +; CHECK: .section ".cp.rodata.cst4","aMc",@progbits,4 ; CHECK: .LCPI0_0: ; CHECK: .long 12345678 ; CHECK: f: diff --git a/test/CodeGen/XCore/globals.ll b/test/CodeGen/XCore/globals.ll index 7487561dec..f6ff3354ee 100644 --- a/test/CodeGen/XCore/globals.ll +++ b/test/CodeGen/XCore/globals.ll @@ -60,33 +60,33 @@ entry: } @G1 = global i32 4712 -; CHECK: .section .dp.data,"awd",@progbits +; CHECK: .section ".dp.data","awd",@progbits ; CHECK: G1: @G2 = global i32 0 -; CHECK: .section .dp.bss,"awd",@nobits +; CHECK: .section ".dp.bss","awd",@nobits ; CHECK: G2: @G3 = unnamed_addr constant i32 9401 -; CHECK: .section .cp.rodata.cst4,"aMc",@progbits,4 +; CHECK: .section ".cp.rodata.cst4","aMc",@progbits,4 ; CHECK: G3: @G4 = global i32* @G1 -; CHECK: .section .dp.data,"awd",@progbits +; CHECK: .section ".dp.data","awd",@progbits ; CHECK: G4: @G5 = unnamed_addr constant i32* @G1 -; CHECK: .section .cp.rodata,"ac",@progbits +; CHECK: .section ".cp.rodata","ac",@progbits ; CHECK: G5: @G6 = global i32* @G8 -; CHECK: .section .dp.data,"awd",@progbits +; CHECK: .section ".dp.data","awd",@progbits ; CHECK: G6: @G7 = unnamed_addr constant i32* @G8 -; CHECK: .section .cp.rodata,"ac",@progbits +; CHECK: .section ".cp.rodata","ac",@progbits ; CHECK: G7: @G8 = internal global i32 9312 -; CHECK: .section .dp.data,"awd",@progbits +; CHECK: .section ".dp.data","awd",@progbits ; CHECK: G8: diff --git a/test/CodeGen/XCore/tls.ll b/test/CodeGen/XCore/tls.ll index ed41afae09..b4f1671796 100644 --- a/test/CodeGen/XCore/tls.ll +++ b/test/CodeGen/XCore/tls.ll @@ -8,7 +8,7 @@ entry: } @G = thread_local global i32 15 -; CHECK: .section .dp.data,"awd",@progbits +; CHECK: .section ".dp.data","awd",@progbits ; CHECK: G: ; CHECK: .long 15 ; CHECK: .long 15 |