[PATCH] D66342: [test] - Remove precomiled openbsd-phdrs.elf-x86-64 objects.

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 16 05:31:26 PDT 2019


MaskRay accepted this revision.
MaskRay added inline comments.
This revision is now accepted and ready to land.


================
Comment at: test/tools/llvm-objdump/X86/openbsd-headers.test:1
-## openbsd-phdrs.elf-x86-64 was generated using GNU ld (GNU Binutils for Ubuntu) 2.26.1.
-## llvm-mc -filetype=obj -triple=x86_64-pc-linux test.s -o main.o
-## ld -script linker.script main.o -o openbsd-phdrs.elf-x86-64
-##
-## test.s is an empty file.
-## linker.script:
-## PHDRS { text PT_LOAD FILEHDR PHDRS; foo 0x65a3dbe6; bar 0x65a3dbe7; zed 0x65a41be6; }
-##   Where 0x65a3dbe6 is the value of PT_OPENBSD_RANDOMIZE,
-##         0x65a3dbe7 is the value of PT_OPENBSD_WXNEEDED,
-##         0x65a41be6 is the value of PT_OPENBSD_BOOTDATA
-## SECTIONS { . = SIZEOF_HEADERS; .all : { *(.*) } : text }
-RUN: llvm-objdump -p %p/Inputs/openbsd-phdrs.elf-x86-64 \
-RUN:     | FileCheck %s
+## Check that llvm-objdump dumps OpenBSD program headers correctly.
 
----------------
`X86/openbsd-headers.test` -> `openbsd-headers.test`?

The test doesn't use target specific features.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D66342/new/

https://reviews.llvm.org/D66342





More information about the llvm-commits mailing list