[clang] [Driver][RISCV] Forward --no-relax option to linker for RISC-V on *BS… (PR #83216)

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Sat Mar 2 23:30:41 PST 2024


================
@@ -203,3 +203,12 @@
 // RELOCATABLE-NOT: "-l
 // RELOCATABLE-NOT: crt{{[^./\\]+}}.o
 
+// Check that the -X flag is passed to the linker on riscv64
----------------
MaskRay wrote:

The CHECK is self-explanatory and renders the comment redundant. The RUN line may test additional options in the future.

https://github.com/llvm/llvm-project/pull/83216


More information about the cfe-commits mailing list