[lld] r363868 - [llvm-readobj] Match GNU output for DT_RPATH and DT_RUNPATH when dumping dynamic symbol table.
Yuanfang Chen via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 19 12:31:08 PDT 2019
Author: yuanfang
Date: Wed Jun 19 12:31:07 2019
New Revision: 363868
URL: http://llvm.org/viewvc/llvm-project?rev=363868&view=rev
Log:
[llvm-readobj] Match GNU output for DT_RPATH and DT_RUNPATH when dumping dynamic symbol table.
Reviewers: jhenderson, grimar, MaskRay, rupprecht, espindola
Subscribers: emaste, nemanjai, arichardson, kbarton, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D63347
Modified:
lld/trunk/test/ELF/new-dtags.test
lld/trunk/test/ELF/shared-ppc64.s
lld/trunk/test/ELF/shared.s
Modified: lld/trunk/test/ELF/new-dtags.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/new-dtags.test?rev=363868&r1=363867&r2=363868&view=diff
==============================================================================
--- lld/trunk/test/ELF/new-dtags.test (original)
+++ lld/trunk/test/ELF/new-dtags.test Wed Jun 19 12:31:07 2019
@@ -10,11 +10,11 @@
// RUN: llvm-readobj --dynamic-table %t2 | FileCheck --check-prefix=ENABLE %s
// DISABLE: DynamicSection [
-// DISABLE: 0x000000000000000F RPATH /somepath
+// DISABLE: 0x000000000000000F RPATH Library rpath: [/somepath]
// DISABLE-NOT: RUNPATH
// DISABLE: ]
// ENABLE: DynamicSection [
-// ENABLE: 0x000000000000001D RUNPATH /somepath
+// ENABLE: 0x000000000000001D RUNPATH Library runpath: [/somepath]
// ENABLE-NOT: RPATH
// ENABLE: ]
Modified: lld/trunk/test/ELF/shared-ppc64.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/shared-ppc64.s?rev=363868&r1=363867&r2=363868&view=diff
==============================================================================
--- lld/trunk/test/ELF/shared-ppc64.s (original)
+++ lld/trunk/test/ELF/shared-ppc64.s Wed Jun 19 12:31:07 2019
@@ -27,7 +27,7 @@
// CHECK: DynamicSection [
// CHECK-NEXT: Tag Type Name/Value
-// CHECK-NEXT: 0x000000000000001D RUNPATH foo:bar
+// CHECK-NEXT: 0x000000000000001D RUNPATH Library runpath: [foo:bar]
// CHECK-NEXT: 0x0000000000000001 NEEDED Shared library: [{{.*}}2.so]
// CHECK-NEXT: 0x0000000000000015 DEBUG 0x0
// CHECK-NEXT: 0x0000000000000007 RELA [[RELADDR]]
Modified: lld/trunk/test/ELF/shared.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/shared.s?rev=363868&r1=363867&r2=363868&view=diff
==============================================================================
--- lld/trunk/test/ELF/shared.s (original)
+++ lld/trunk/test/ELF/shared.s Wed Jun 19 12:31:07 2019
@@ -250,7 +250,7 @@
// CHECK: DynamicSection [
// CHECK-NEXT: Tag Type Name/Value
-// CHECK-NEXT: 0x0000001D RUNPATH foo:bar
+// CHECK-NEXT: 0x0000001D RUNPATH Library runpath: [foo:bar]
// CHECK-NEXT: 0x00000001 NEEDED Shared library: [{{.*}}2.so]
// CHECK-NEXT: 0x00000015 DEBUG 0x0
// CHECK-NEXT: 0x00000011 REL [[RELADDR]]
More information about the llvm-commits
mailing list