comparison test/Linker/subprogram-linkonce-weak.ll @ 121:803732b1fca8

LLVM 5.0
author kono
date Fri, 27 Oct 2017 17:07:41 +0900
parents 1172e4bd9c6f
children 3a76565eade5
comparison
equal deleted inserted replaced
120:1172e4bd9c6f 121:803732b1fca8
83 !5 = !DISubroutineType(types: !{}) 83 !5 = !DISubroutineType(types: !{})
84 84
85 ; Crasher for llc. 85 ; Crasher for llc.
86 ; REQUIRES: object-emission 86 ; REQUIRES: object-emission
87 ; RUN: %llc_dwarf -filetype=obj -O0 %t1 -o %t1.o 87 ; RUN: %llc_dwarf -filetype=obj -O0 %t1 -o %t1.o
88 ; RUN: llvm-dwarfdump %t1.o -debug-dump=all | FileCheck %s -check-prefix=DWLW -check-prefix=DW 88 ; RUN: llvm-dwarfdump %t1.o --all | FileCheck %s -check-prefix=DWLW -check-prefix=DW
89 ; RUN: %llc_dwarf -filetype=obj -O0 %t2 -o %t2.o 89 ; RUN: %llc_dwarf -filetype=obj -O0 %t2 -o %t2.o
90 ; RUN: llvm-dwarfdump %t2.o -debug-dump=all | FileCheck %s -check-prefix=DWWL -check-prefix=DW 90 ; RUN: llvm-dwarfdump %t2.o --all | FileCheck %s -check-prefix=DWWL -check-prefix=DW
91 ; Check that the debug info for the discarded linkonce version of @foo doesn't 91 ; Check that the debug info for the discarded linkonce version of @foo doesn't
92 ; reference any code, and that the other subprograms look correct. 92 ; reference any code, and that the other subprograms look correct.
93 93
94 ; DW-LABEL: .debug_info contents: 94 ; DW-LABEL: .debug_info contents:
95 ; DWLW: DW_TAG_compile_unit 95 ; DWLW: DW_TAG_compile_unit