Files
clang-p2996/lld/test/COFF/lldmap.test
Rui Ueyama eb1ad400f9 Print alignment in decimal instead of hexadecimal.
Previously, we were printing out something like this for
sections/symbols with alignment 16

  0000000000201000 0000000000000182    10 .data

which I think confusing. I think printing it in decimal is better.

Differential Revision: https://reviews.llvm.org/D29258

llvm-svn: 293685
2017-01-31 20:42:34 +00:00

12 lines
558 B
Plaintext

# RUN: yaml2obj < %p/Inputs/ret42.yaml > %t.obj
# RUN: lld-link /out:%t.exe /entry:main /lldmap:%T/foo.map %t.obj
# RUN: FileCheck %s < %T/foo.map
# RUN: lld-link /out:%T/bar.exe /entry:main /lldmap %t.obj
# RUN: FileCheck %s < %T/bar.map
# CHECK: Address Size Align Out In File Symbol
# CHECK-NEXT: 00001000 00000006 4096 .text
# CHECK-NEXT: 00001000 00000006 16 .text$mn
# CHECK-NEXT: 00001000 00000006 16 {{.*}}lldmap.test.tmp.obj
# CHECK-NEXT: 00001000 00000006 0 main