Mercurial > hg > CbC > CbC_llvm
diff lld/test/ELF/map-file-i686.s @ 150:1d019706d866
LLVM10
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 15:10:13 +0900 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lld/test/ELF/map-file-i686.s Thu Feb 13 15:10:13 2020 +0900 @@ -0,0 +1,21 @@ +// REQUIRES: x86 + +// RUN: llvm-mc -filetype=obj -triple=i386-pc-linux %s -o %t1.o +// RUN: ld.lld %t1.o -o /dev/null -M | FileCheck -strict-whitespace %s + +.global _start +_start: + nop + +// CHECK: VMA LMA Size Align Out In Symbol +// CHECK-NEXT: 4010b4 4010b4 1 4 .text +// CHECK-NEXT: 4010b4 4010b4 1 4 {{.*}}{{/|\\}}map-file-i686.s.tmp1.o:(.text) +// CHECK-NEXT: 4010b4 4010b4 0 1 _start +// CHECK-NEXT: 0 0 8 1 .comment +// CHECK-NEXT: 0 0 8 1 <internal>:(.comment) +// CHECK-NEXT: 0 0 20 4 .symtab +// CHECK-NEXT: 0 0 20 4 <internal>:(.symtab) +// CHECK-NEXT: 0 0 2a 1 .shstrtab +// CHECK-NEXT: 0 0 2a 1 <internal>:(.shstrtab) +// CHECK-NEXT: 0 0 8 1 .strtab +// CHECK-NEXT: 0 0 8 1 <internal>:(.strtab)