1// REQUIRES: x86
2
3// RUN: llvm-mc -filetype=obj -triple=i386-pc-linux %s -o %t1.o
4// RUN: ld.lld %t1.o -o /dev/null -M | FileCheck -strict-whitespace %s
5
6.global _start
7_start:
8 nop
9
10// CHECK:         VMA      LMA     Size Align Out     In      Symbol
11// CHECK-NEXT: 4010b4   4010b4        1     4 .text
12// CHECK-NEXT: 4010b4   4010b4        1     4         {{.*}}{{/|\\}}map-file-i686.s.tmp1.o:(.text)
13// CHECK-NEXT: 4010b4   4010b4        0     1                 _start
14// CHECK-NEXT:      0        0        8     1 .comment
15// CHECK-NEXT:      0        0        8     1         <internal>:(.comment)
16// CHECK-NEXT:      0        0       20     4 .symtab
17// CHECK-NEXT:      0        0       20     4         <internal>:(.symtab)
18// CHECK-NEXT:      0        0       2a     1 .shstrtab
19// CHECK-NEXT:      0        0       2a     1         <internal>:(.shstrtab)
20// CHECK-NEXT:      0        0        8     1 .strtab
21// CHECK-NEXT:      0        0        8     1         <internal>:(.strtab)
22