Lines Matching full:debug_str
1 ## Test that yaml2obj emits .debug_str section.
3 ## a) Generate the .debug_str section from the "DWARF" entry.
6 # RUN: llvm-readelf --string-dump=.debug_str %t1.o | FileCheck %s --check-prefix=DWARF-DEFAULT
8 # DWARF-DEFAULT: String dump of section '.debug_str':
14 ## .debug_str section header.
19 # SHDRS-DEFAULT: .debug_str PROGBITS 0000000000000000 000040 [[SIZE]] 01 MS 0 0 1
27 debug_str:
32 ## b) Generate the .debug_str section from the raw section content.
35 # RUN: llvm-readelf --string-dump=.debug_str %t2.o | FileCheck %s --check-prefix=DWARF-DEFAULT
39 # SHDRS: .debug_str PROGBITS 0000000000000000 000040 000006 01 MS 0 0 0
47 - Name: .debug_str
51 ## c) Generate the .debug_str section when the "Size" is specified.
55 # RUN: llvm-readelf --hex-dump=.debug_str %t3.o | FileCheck %s --check-prefix=SIZE-CONTENT
58 # SIZE: .debug_str PROGBITS 0000000000000000 000040 000010 01 MS 0 0 0
60 # SIZE-CONTENT: Hex dump of section '.debug_str':
70 - Name: .debug_str
75 ## "debug_str" entry are specified at the same time.
79 # ERROR: yaml2obj: error: cannot specify section '.debug_str' contents in the 'DWARF' entry and the…
87 - Name: .debug_str
91 debug_str:
95 ## "debug_str" entry are specified at the same time.
105 - Name: .debug_str
109 debug_str:
113 ## the "debug_str" entry doesn't exist.
120 # OVERRIDDEN: [ 2] .debug_str STRTAB 0000000000002020 000050 000006 02 A 1 1 2
128 - Name: .sec # Linked by .debug_str.
130 - Name: .debug_str
142 ## the "debug_str" entry is used.
145 # RUN: llvm-readelf --string-dump=.debug_str %t7.o | FileCheck %s --check-prefix=DWARF-DEFAULT
154 - Name: .sec # Linked by .debug_str.
156 - Name: .debug_str
166 debug_str:
171 ## h) Test that if we try to initialize the .debug_str section with a "Type" with non-standard
184 # DYN-SHDR: .debug_str DYNAMIC 0000000000000000 000040 000010 10 0 0 0
196 - Name: .debug_str
208 - Name: .debug_str
214 debug_str:
217 ## i) Test that the .debug_str section header is emitted if the "debug_str"
229 debug_str: []