mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
dos2unix on quoted-names.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192759 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
508d7b7330
commit
d910c46963
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user