Lines Matching full:debug_ranges
1 ## Test that yaml2obj emits .debug_ranges section.
3 ## a) Generate the .debug_ranges section from the "DWARF" entry.
5 ## Generate and verify a little endian .debug_ranges section.
12 # DWARF-HEADER-NEXT: Name: .debug_ranges (1)
75 debug_ranges:
96 ## Generate and verify a big endian .debug_ranges section.
148 ## b) Generate the .debug_ranges section from raw section content.
164 - Name: .debug_ranges
168 ## c) Generate the .debug_ranges section when the "Size" is specified.
171 # RUN: llvm-readobj --hex-dump=.debug_ranges %t3.o | FileCheck %s --check-prefix=SIZE
173 # SIZE: Hex dump of section '.debug_ranges':
183 - Name: .debug_ranges
188 ## "debug_ranges" entry are specified at the same time.
192 # ERROR: yaml2obj: error: cannot specify section '.debug_ranges' contents in the 'DWARF' entry and …
200 - Name: .debug_ranges
204 debug_ranges:
210 ## "debug_ranges" entry are specified at the same time.
220 - Name: .debug_ranges
224 debug_ranges:
230 ## the "debug_ranges" entry doesn't exist.
236 # OVERRIDDEN: [ 1] .debug_ranges STRTAB 0000000000002020 000050 000020 01 A 2 1 2
245 - Name: .debug_ranges
255 - Name: .sec # Linked by .debug_ranges.
259 ## the "debug_ranges" entry exists.
270 - Name: .debug_ranges
279 - Name: .sec # Linked by .debug_ranges.
282 debug_ranges:
291 # RUN: llvm-readelf --hex-dump=.debug_ranges %t8.o | FileCheck %s --check-prefix=PADDED
293 # PADDED: Hex dump of section '.debug_ranges':
335 debug_ranges:
349 ## entry of the '.debug_ranges' section.
353 # INVALID-OFFSET: yaml2obj: error: 'Offset' for 'debug_ranges' with index 1 must be greater than or…
361 debug_ranges:
370 ## j) Test that yaml2obj still generates a .debug_ranges section if we assign an invalid value
374 # RUN: llvm-readelf --hex-dump=.debug_ranges %t10.o | \
377 # ADDRSIZE: Hex dump of section '.debug_ranges':
387 debug_ranges:
397 # INVALID-SIZE: yaml2obj: error: unable to write debug_ranges address offset: invalid integer write…
405 debug_ranges:
411 ## l) Test that the .debug_ranges section header is emitted if the "debug_ranges"
423 debug_ranges: []