[llvm] 46c3444 - [yaml2obj][test] - Fix comments in ELF/program-header-address.yaml test. NFC.
Georgii Rymar via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 16 06:07:22 PDT 2020
Author: Georgii Rymar
Date: 2020-03-16T16:07:10+03:00
New Revision: 46c34447f8668db43393f0a4b2bfd52a0e9e21dd
URL: https://github.com/llvm/llvm-project/commit/46c34447f8668db43393f0a4b2bfd52a0e9e21dd
DIFF: https://github.com/llvm/llvm-project/commit/46c34447f8668db43393f0a4b2bfd52a0e9e21dd.diff
LOG: [yaml2obj][test] - Fix comments in ELF/program-header-address.yaml test. NFC.
This addresses post-commit comments suggested by James Henderson for D76131.
Added:
Modified:
llvm/test/tools/yaml2obj/ELF/program-header-address.yaml
Removed:
################################################################################
diff --git a/llvm/test/tools/yaml2obj/ELF/program-header-address.yaml b/llvm/test/tools/yaml2obj/ELF/program-header-address.yaml
index a1e5460e2972..4aa5aacfa8e2 100644
--- a/llvm/test/tools/yaml2obj/ELF/program-header-address.yaml
+++ b/llvm/test/tools/yaml2obj/ELF/program-header-address.yaml
@@ -27,20 +27,21 @@ Sections:
Size: 0x1
Address: 0x1234
ProgramHeaders:
-## Show addresses we emit by default for a case when a program header
-## has no sections included.
+## Show what virtual and physical address we set by default for the case where
+## a program header has no sections.
- Type: PT_LOAD
Flags: [ PF_X, PF_R ]
Sections: []
-## Show addresses we emit by default for a case when a program header
-## includes a section with a virtual address that is explicitly set.
+## Show what virtual and physical address we set by default for the case
+## where a program header includes a section with a virtual address that
+## is explicitly set.
- Type: PT_LOAD
Flags: [ PF_X, PF_R ]
Sections:
- Section: .foo
-## Now we have a program header that has a virtual address
diff erent from
-## a address of the section included. Show that the default physical address
-## is equal to virtual address.
+## Now we have a program header that has a virtual address
diff erent to
+## the address of the section included. Show that the default physical address
+## is equal to the program header's virtual address.
- Type: PT_LOAD
Flags: [ PF_X, PF_R ]
VAddr: 0xAAAA1000
More information about the llvm-commits
mailing list