[clang] [Driver] Corrections for linker flags passed with relocatable linking on OpenBSD (PR #67254)

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 19 21:20:44 PDT 2023


================
@@ -36,10 +36,12 @@
 // RUN:   | FileCheck --check-prefix=CHECK-MIPS64-LD %s
 // RUN: %clang --target=mips64el-unknown-openbsd -### %s 2>&1 \
 // RUN:   | FileCheck --check-prefix=CHECK-MIPS64EL-LD %s
-// CHECK-LD-R:     "-r"
+// CHECK-LD-R-NOT: "-e" "__start"
----------------
MaskRay wrote:

`// CHECK-LD-R-NOT: "-e"`

Assert that no `-e` is passed.

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


More information about the cfe-commits mailing list