[PATCH] D105091: [RISCV] Pass -u to linker correctly.

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 1 09:47:58 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
----------------
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?


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