2013-06-15 13:20:05 +08:00
|
|
|
# Verify that lld can handle a library file.
|
|
|
|
#
|
2013-07-05 18:41:44 +08:00
|
|
|
# RUN: yaml2obj %p/Inputs/main.obj.yaml > %t.obj
|
|
|
|
#
|
2013-08-27 11:38:18 +08:00
|
|
|
# RUN: lld -flavor link /out:%t1 /subsystem:console /entry:_main /opt:noref \
|
|
|
|
# RUN: -- %t.obj %p/Inputs/static.lib && llvm-objdump -d %t1 | FileCheck %s
|
2013-06-15 13:20:05 +08:00
|
|
|
|
|
|
|
CHECK: Disassembly of section .text:
|
|
|
|
CHECK: .text:
|
2013-06-28 12:40:52 +08:00
|
|
|
CHECK: 1000: a1 00 20 40 00
|
|
|
|
CHECK: 1005: 03 05 04 20 40 00
|
2013-06-15 13:20:05 +08:00
|
|
|
CHECK: 100b: c3
|