[flang-commits] [clang] [flang] [flang][Driver] Support -Xlinker in flang (PR #107472)
Tom Eccles via flang-commits
flang-commits at lists.llvm.org
Mon Sep 9 08:52:43 PDT 2024
================
@@ -0,0 +1,8 @@
+! RUN: %flang -### -o /dev/null %s -Xlinker -rpath=/not/a/real/path 2>&1 | FileCheck --check-prefix=SINGLE %s
+! RUN: %flang -### -o /dev/null %s -Xlinker -rpath -Xlinker /not/a/real/path 2>&1 | FileCheck --check-prefix=MULTIPLE %s
+
+
+! SINGLE: "-rpath=/not/a/real/path"
+! MULTIPLE: "-rpath" "/not/a/real/path"
----------------
tblah wrote:
nit: The problem with this is it does not check that the -Xlinker flag is actually passed to the linker
https://github.com/llvm/llvm-project/pull/107472
More information about the flang-commits
mailing list