2018-06-06 21:56:51 +08:00
|
|
|
// REQUIRES: x86
|
2015-10-02 03:36:04 +08:00
|
|
|
// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
|
2015-11-18 14:11:01 +08:00
|
|
|
// RUN: ld.lld %t.o -shared -soname=foo.so -o %t
|
2015-10-02 03:36:04 +08:00
|
|
|
// RUN: llvm-readobj --dynamic-table %t | FileCheck %s
|
|
|
|
|
2017-07-15 00:00:34 +08:00
|
|
|
// CHECK: 0x000000000000000E SONAME Library soname: [foo.so]
|
2015-10-02 03:36:04 +08:00
|
|
|
|
|
|
|
.global _start
|
|
|
|
_start:
|