[PATCH] D34893: [ELF] - Remove use of precomipled binary for invalid-relocation-x64.test

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 30 09:25:39 PDT 2017


ruiu accepted this revision.
ruiu added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: test/ELF/invalid/invalid-relocation-x64.test:1
-## invalid-relocation-x64.elf contains relocations with invalid relocation number.
-## Next yaml code was used to create initial binary. After that it
-## was modified with hex-editor to replace known relocations with fake ones,
-## that have 0x98 and 0x98 numbers.
+# RUN: yaml2obj %s -o %t.o
+# RUN: not ld.lld %t.o -o /dev/null 2>&1 | FileCheck %s
----------------
Please add "REQUIRES: x86".


https://reviews.llvm.org/D34893





More information about the llvm-commits mailing list