summaryrefslogtreecommitdiff
path: root/tools/llvm-readobj/ELFDumper.cpp
diff options
context:
space:
mode:
authorJoerg Sonnenberger <joerg@bec.de>2013-09-03 17:13:53 +0000
committerJoerg Sonnenberger <joerg@bec.de>2013-09-03 17:13:53 +0000
commit6217187ff202cb919257abc32782faa35c29f5d9 (patch)
treefe3c33e16c7218a3f8befee94043f34a69a36d15 /tools/llvm-readobj/ELFDumper.cpp
parent06ef1ed260195e35fd1ea4a3dd8b3c00d7c434f2 (diff)
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.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/llvm-readobj/ELFDumper.cpp b/tools/llvm-readobj/ELFDumper.cpp
index e909ef81bb9..502fe6750a9 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;
}
}