From d910c469632a75ccb85bf0619a9c50a207914a2c Mon Sep 17 00:00:00 2001 From: Hans Wennborg Date: Wed, 16 Oct 2013 01:22:07 +0000 Subject: [PATCH] dos2unix on quoted-names.ll git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192759 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/MC/COFF/quoted-names.ll | 40 ++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/test/MC/COFF/quoted-names.ll b/test/MC/COFF/quoted-names.ll index 13603125708..920035f555b 100644 --- a/test/MC/COFF/quoted-names.ll +++ b/test/MC/COFF/quoted-names.ll @@ -1,20 +1,20 @@ -; Check that certain symbol and section names are quoted in the asm output. -; RUN: llc -mtriple=i686-pc-win32 %s -o - | FileCheck %s - -; Check that the symbol and section names can round-trip through the assembler. -; RUN: llc -mtriple=i686-pc-win32 %s -o - | llvm-mc -triple i686-pc-win32 -filetype=obj | llvm-readobj -s -section-symbols | FileCheck %s --check-prefix=READOBJ - -@"\01??__E_Generic_object@?$_Error_objects@H@std@@YAXXZ" = global i32 0 - -define weak i32 @"\01??_B?$num_put@_WV?$back_insert_iterator@V?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@@std@@@std@@51"() section ".text" { - %res = load i32* @"\01??__E_Generic_object@?$_Error_objects@H@std@@YAXXZ" - ret i32 %res -} - -; CHECK: .section ".text$??_B?$num_put@_WV?$back_insert_iterator@V?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@@std@@@std@@51","xr" -; CHECK: .globl "??_B?$num_put@_WV?$back_insert_iterator@V?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@@std@@@std@@51" -; CHECK: "??_B?$num_put@_WV?$back_insert_iterator@V?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@@std@@@std@@51" - -; READOBJ: Symbol -; READOBJ: Name: ??_B?$num_put@_WV?$back_insert_iterator@V?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@@std@@@std@@51 -; READOBJ: Section: .text$??_B?$num_put@_WV?$back_insert_iterator@V?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@@std@@@std@@51 +; Check that certain symbol and section names are quoted in the asm output. +; RUN: llc -mtriple=i686-pc-win32 %s -o - | FileCheck %s + +; Check that the symbol and section names can round-trip through the assembler. +; RUN: llc -mtriple=i686-pc-win32 %s -o - | llvm-mc -triple i686-pc-win32 -filetype=obj | llvm-readobj -s -section-symbols | FileCheck %s --check-prefix=READOBJ + +@"\01??__E_Generic_object@?$_Error_objects@H@std@@YAXXZ" = global i32 0 + +define weak i32 @"\01??_B?$num_put@_WV?$back_insert_iterator@V?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@@std@@@std@@51"() section ".text" { + %res = load i32* @"\01??__E_Generic_object@?$_Error_objects@H@std@@YAXXZ" + ret i32 %res +} + +; CHECK: .section ".text$??_B?$num_put@_WV?$back_insert_iterator@V?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@@std@@@std@@51","xr" +; CHECK: .globl "??_B?$num_put@_WV?$back_insert_iterator@V?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@@std@@@std@@51" +; CHECK: "??_B?$num_put@_WV?$back_insert_iterator@V?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@@std@@@std@@51" + +; READOBJ: Symbol +; READOBJ: Name: ??_B?$num_put@_WV?$back_insert_iterator@V?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@@std@@@std@@51 +; READOBJ: Section: .text$??_B?$num_put@_WV?$back_insert_iterator@V?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@@std@@@std@@51