George Rimar | ce95ac6 | 2018-09-22 07:36:20 +0000 | [diff] [blame] | 1 | # RUN: llvm-mc -triple x86_64-pc-linux-gnu %s -filetype=obj -o %t.o |
| 2 | # RUN: llvm-readobj -s --elf-output-style=GNU %t.o | FileCheck %s |
| 3 | |
| 4 | ## Check we add SHF_EXCLUDE flag for .dwo debug sections. |
| 5 | # CHECK: .debug_info.dwo {{.*}} E |
| 6 | # CHECK: .debug_types.dwo {{.*}} E |
| 7 | # CHECK: .debug_abbrev.dwo {{.*}} E |
| 8 | # CHECK: .debug_str.dwo {{.*}} EMS |
| 9 | # CHECK: .debug_line.dwo {{.*}} E |
| 10 | # CHECK: .debug_loc.dwo {{.*}} E |
| 11 | # CHECK: .debug_str_offsets.dwo {{.*}} E |
| 12 | |
| 13 | .section .debug_info.dwo |
| 14 | nop |
| 15 | |
| 16 | .section .debug_types.dwo |
| 17 | nop |
| 18 | |
| 19 | .section .debug_abbrev.dwo |
| 20 | nop |
| 21 | |
| 22 | .section .debug_str.dwo |
| 23 | nop |
| 24 | |
| 25 | .section .debug_line.dwo |
| 26 | nop |
| 27 | |
| 28 | .section .debug_loc.dwo |
| 29 | nop |
| 30 | |
| 31 | .section .debug_str_offsets.dwo |
| 32 | nop |