[flang-commits] [clang] [flang] [flang][Driver] Support -Xlinker in flang (PR #107472)

Tarun Prabhu via flang-commits flang-commits at lists.llvm.org
Mon Sep 9 08:56:45 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"
----------------
tarunprabhu wrote:

Yes. I realized that soon immediately after I pushed up the changes (sigh). Thanks for taking multiple looks.

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


More information about the flang-commits mailing list