1 # RUN: yaml2obj %s > %t
2 # RUN: llvm-elfabi --elf %t --emit-tbe=- | FileCheck %s --check-prefix=ORIGINAL
3 # RUN: llvm-elfabi --elf %t --emit-tbe=- --soname=libbest.so | FileCheck %s --check-prefix=REPLACED
16 # \0 b a z\0 s o m e l i b . s o\0 f o o\0
17 Content: "0062617a00736f6d656c69622e736f00666f6f00"
21 Address: 0x0000000000001018
23 AddressAlign: 0x0000000000000008
24 EntSize: 0x0000000000000010
27 Value: 0x0000000000000005
29 Value: 0x0000000000000014
31 Value: 0x0000000000001000
33 Value: 0x0000000000001000
35 Value: 0x0000000000000000
52 # ORIGINAL: SoName: somelib.so{{$}}
54 # REPLACED: SoName: libbest.so{{$}}