[PATCH] D105091: [RISCV] Pass -u to linker correctly.
Fangrui Song via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 9 10:39:14 PDT 2021
MaskRay added inline comments.
================
Comment at: clang/test/Driver/riscv-args.c:5
// RUN: %clang -### -target riscv32 \
// RUN: --gcc-toolchain= -Xlinker --defsym=FOO=10 -T a.lds %s 2>&1 \
// RUN: | FileCheck -check-prefix=CHECK-LD %s
----------------
kito-cheng wrote:
> MaskRay wrote:
> > MaskRay wrote:
> > > Just place all linker options on one run line.
> > >
> > > It decreases the number of RUN lines and additionally checks the order (though usually unimportant).
> > The test hasn't been updated?
> Oh, I only update the testcase I added.
You can place all link options on the same RUN line.
This additionally checks the order.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D105091/new/
https://reviews.llvm.org/D105091
More information about the cfe-commits
mailing list