From 97f7787bfb56ad31fe20ec0bb9c3c9f3253d14fb Mon Sep 17 00:00:00 2001 From: David Meyer Date: Thu, 1 Mar 2012 22:19:54 +0000 Subject: [Object] Add ObjectFile::getLoadName() for retrieving the soname/installname of a shared object. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151845 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Object/readobj-shared-object.test | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'test/Object') diff --git a/test/Object/readobj-shared-object.test b/test/Object/readobj-shared-object.test index be71907..3b5457c 100644 --- a/test/Object/readobj-shared-object.test +++ b/test/Object/readobj-shared-object.test @@ -1,7 +1,22 @@ RUN: llvm-readobj %p/Inputs/shared-object-test.elf-i386 \ RUN: | FileCheck %s -check-prefix ELF +RUN: llvm-readobj %p/Inputs/shared-object-test.elf-i386 \ +RUN: | FileCheck %s -check-prefix ELF32 + RUN: llvm-readobj %p/Inputs/shared-object-test.elf-x86-64 \ RUN: | FileCheck %s -check-prefix ELF +RUN: llvm-readobj %p/Inputs/shared-object-test.elf-x86-64 \ +RUN: | FileCheck %s -check-prefix ELF64 + +ELF64:File Format : ELF64-x86-64 +ELF64:Arch : x86_64 +ELF64:Address Size: 64 bits +ELF64:Load Name : libfoo.so + +ELF32:File Format : ELF32-i386 +ELF32:Arch : i386 +ELF32:Address Size: 32 bits +ELF32:Load Name : libfoo.so ELF:Symbols: ELF: .dynsym DBG {{[0-9a-f]+}} {{[0-9a-f]+}} {{[0-9a-f]+}} formatspecific -- cgit v1.1