[PATCH] D54651: [ELF] Allow --noinhibit-exec to produce corrupted executable with relocation overflow

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 18 23:29:55 PST 2018


grimar added inline comments.


================
Comment at: test/ELF/x86-64-reloc-range.s:4
 // RUN: not ld.lld %t.o -o /dev/null -shared 2>&1 | FileCheck %s
+// RUN: ld.lld --noinhibit-exec -shared %t.o -o %t 2>&1 | FileCheck %s
+// RUN: ls %t
----------------
I think you should change the `\lld\test\ELF\no-inhibit-exec.s` test case instead.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D54651





More information about the llvm-commits mailing list