[PATCH] D87486: [ELF] Define a reportRangeError() overload for thunks and tidy up recent PPC64 thunk range errors
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 14 09:08:19 PDT 2020
MaskRay added inline comments.
================
Comment at: lld/test/ELF/ppc64-toc-call-to-pcrel-long-jump.s:16
+
+# RUN: ld.lld -T %t.script %t.o -o /dev/null --noinhibit-exec
----------------
stefanp wrote:
> Question:
> What does this do? There is no `FileCheck` after it and you are sending the output to `/dev/null` so what output file is retained?
`--noinhibit-exec` makes errorOrWarn report a warning, so the output is not inhibited and lld can still return 0.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87486/new/
https://reviews.llvm.org/D87486
More information about the llvm-commits
mailing list