diff options
author | Joerg Sonnenberger <joerg@bec.de> | 2013-09-03 17:13:53 +0000 |
---|---|---|
committer | Joerg Sonnenberger <joerg@bec.de> | 2013-09-03 17:13:53 +0000 |
commit | 6217187ff202cb919257abc32782faa35c29f5d9 (patch) | |
tree | fe3c33e16c7218a3f8befee94043f34a69a36d15 /tools/llvm-readobj/ELFDumper.cpp | |
parent | 06ef1ed260195e35fd1ea4a3dd8b3c00d7c434f2 (diff) | |
download | external_llvm-6217187ff202cb919257abc32782faa35c29f5d9.zip external_llvm-6217187ff202cb919257abc32782faa35c29f5d9.tar.gz external_llvm-6217187ff202cb919257abc32782faa35c29f5d9.tar.bz2 |
Print string value for DT_RPATH and DT_RUNPATH.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189829 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-readobj/ELFDumper.cpp')
-rw-r--r-- | tools/llvm-readobj/ELFDumper.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/llvm-readobj/ELFDumper.cpp b/tools/llvm-readobj/ELFDumper.cpp index e909ef8..502fe67 100644 --- a/tools/llvm-readobj/ELFDumper.cpp +++ b/tools/llvm-readobj/ELFDumper.cpp @@ -723,6 +723,10 @@ static void printValue(const ELFFile<ELFT> *O, uint64_t Type, uint64_t Value, case DT_SONAME: OS << "LibrarySoname (" << O->getDynamicString(Value) << ")"; break; + case DT_RPATH: + case DT_RUNPATH: + OS << O->getDynamicString(Value); + break; } } |