[PATCH] D53444: Support ARM_V4BX relocation
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 15 17:48:43 PST 2018
ruiu accepted this revision.
ruiu added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: test/ELF/v4bx.yaml:4-6
+# RUN: llvm-readelf -sections %t.out | FileCheck %s
+
+# CHECK: .text
----------------
yinma wrote:
> ruiu wrote:
> > Does this really check anything? My understanding is that if `ld.lld` succeeds, then the test succeeded. So you don't really need readelf, no?
> We cannot assume ld.lld succeeds without checking the output. Without readelf checking, if lld just simply returns 0 without producing a correct .o, the test will still pass. Actually it is good practice to check something in the output for all unit tests.
Please rename this file `arm-v4bx.test` to follow the local convention.
https://reviews.llvm.org/D53444
More information about the llvm-commits
mailing list