2015-06-27 02:58:24 +08:00
|
|
|
# RUN: yaml2obj < %p/Inputs/ret42.yaml > %t.obj
|
2016-12-10 04:54:44 +08:00
|
|
|
# RUN: lld-link /out:%t.exe /entry:main /lldmap:%T/foo.map %t.obj
|
2017-04-30 02:50:39 +08:00
|
|
|
# RUN: FileCheck -strict-whitespace %s < %T/foo.map
|
2016-12-10 04:54:44 +08:00
|
|
|
# RUN: lld-link /out:%T/bar.exe /entry:main /lldmap %t.obj
|
2017-04-30 02:50:39 +08:00
|
|
|
# RUN: FileCheck -strict-whitespace %s < %T/bar.map
|
2015-06-27 02:58:24 +08:00
|
|
|
|
2017-04-30 02:50:39 +08:00
|
|
|
# CHECK: Address Size Align Out In Symbol
|
2017-02-01 04:42:34 +08:00
|
|
|
# CHECK-NEXT: 00001000 00000006 4096 .text
|
2017-04-30 02:50:39 +08:00
|
|
|
# CHECK-NEXT: 00001000 00000006 16 {{.*}}lldmap.test.tmp.obj:(.text$mn)
|
|
|
|
# CHECK-NEXT: 00001000 00000000 0 main
|