[lld] r275295 - [ELF] Rename the test to reflect the option name
Petr Hosek via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 13 11:31:44 PDT 2016
Author: phosek
Date: Wed Jul 13 13:31:44 2016
New Revision: 275295
URL: http://llvm.org/viewvc/llvm-project?rev=275295&view=rev
Log:
[ELF] Rename the test to reflect the option name
This is to follow the convention of naming the test after the name
of the option.
Differential Revision: http://reviews.llvm.org/D22276
Added:
lld/trunk/test/ELF/image-base.s
- copied, changed from r275269, lld/trunk/test/ELF/ttext-segment.s
Removed:
lld/trunk/test/ELF/ttext-segment.s
Copied: lld/trunk/test/ELF/image-base.s (from r275269, lld/trunk/test/ELF/ttext-segment.s)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/image-base.s?p2=lld/trunk/test/ELF/image-base.s&p1=lld/trunk/test/ELF/ttext-segment.s&r1=275269&r2=275295&rev=275295&view=diff
==============================================================================
(empty)
Removed: lld/trunk/test/ELF/ttext-segment.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/ttext-segment.s?rev=275294&view=auto
==============================================================================
--- lld/trunk/test/ELF/ttext-segment.s (original)
+++ lld/trunk/test/ELF/ttext-segment.s (removed)
@@ -1,60 +0,0 @@
-# REQUIRES: x86
-# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
-# RUN: ld.lld -image-base=0x1000000 %t -o %t1
-# RUN: llvm-readobj -program-headers %t1 | FileCheck %s
-
-.global _start
-_start:
- nop
-
-# CHECK: ProgramHeaders [
-# CHECK-NEXT: ProgramHeader {
-# CHECK-NEXT: Type: PT_PHDR (0x6)
-# CHECK-NEXT: Offset: 0x40
-# CHECK-NEXT: VirtualAddress: 0x1000040
-# CHECK-NEXT: PhysicalAddress: 0x1000040
-# CHECK-NEXT: FileSize: 224
-# CHECK-NEXT: MemSize: 224
-# CHECK-NEXT: Flags [ (0x4)
-# CHECK-NEXT: PF_R (0x4)
-# CHECK-NEXT: ]
-# CHECK-NEXT: Alignment: 8
-# CHECK-NEXT: }
-# CHECK-NEXT: ProgramHeader {
-# CHECK-NEXT: Type: PT_LOAD (0x1)
-# CHECK-NEXT: Offset: 0x0
-# CHECK-NEXT: VirtualAddress: 0x1000000
-# CHECK-NEXT: PhysicalAddress: 0x1000000
-# CHECK-NEXT: FileSize: 288
-# CHECK-NEXT: MemSize: 288
-# CHECK-NEXT: Flags [ (0x4)
-# CHECK-NEXT: PF_R (0x4)
-# CHECK-NEXT: ]
-# CHECK-NEXT: Alignment: 4096
-# CHECK-NEXT: }
-# CHECK-NEXT: ProgramHeader {
-# CHECK-NEXT: Type: PT_LOAD (0x1)
-# CHECK-NEXT: Offset: 0x1000
-# CHECK-NEXT: VirtualAddress: 0x1001000
-# CHECK-NEXT: PhysicalAddress: 0x1001000
-# CHECK-NEXT: FileSize: 1
-# CHECK-NEXT: MemSize: 1
-# CHECK-NEXT: Flags [ (0x5)
-# CHECK-NEXT: PF_R (0x4)
-# CHECK-NEXT: PF_X (0x1)
-# CHECK-NEXT: ]
-# CHECK-NEXT: Alignment: 4096
-# CHECK-NEXT: }
-# CHECK-NEXT: ProgramHeader {
-# CHECK-NEXT: Type: PT_GNU_STACK (0x6474E551)
-# CHECK-NEXT: Offset: 0x0
-# CHECK-NEXT: VirtualAddress: 0x0
-# CHECK-NEXT: PhysicalAddress: 0x0
-# CHECK-NEXT: FileSize: 0
-# CHECK-NEXT: MemSize: 0
-# CHECK-NEXT: Flags [ (0x6)
-# CHECK-NEXT: PF_R (0x4)
-# CHECK-NEXT: PF_W (0x2)
-# CHECK-NEXT: ]
-# CHECK-NEXT: Alignment: 0
-# CHECK-NEXT: }
More information about the llvm-commits
mailing list