diff options
Diffstat (limited to 'lld/test/elf/Hexagon/dynlib.test')
| -rw-r--r-- | lld/test/elf/Hexagon/dynlib.test | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lld/test/elf/Hexagon/dynlib.test b/lld/test/elf/Hexagon/dynlib.test new file mode 100644 index 00000000000..a0764e2d68e --- /dev/null +++ b/lld/test/elf/Hexagon/dynlib.test @@ -0,0 +1,11 @@ +RUN: lld -core -target hexagon %p/Inputs/use-shared.hexagon \ +RUN: -output=%t1 -output-type=shared +RUN: llvm-readobj %t2 > %t3 +RUN: FileCheck -check-prefix=DYNSYMS %s < %t3 + +DYNSYMS: Dynamic Symbols: +DYNSYMS: Name Type Address Size FileOffset Flags +DYNSYMS: fn2 FUNC 148 c 21c global +DYNSYMS: fn1 FUNC 154 c 228 global +DYNSYMS: fn3 FUNC 160 14 234 global +DYNSYMS: Total: 3 |

