[clang] [flang][Driver] Support -rpath, -shared, and -static in the frontend (PR #66702)

Tarun Prabhu via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 21 06:48:38 PDT 2023


================
@@ -50,3 +50,19 @@
 ! MSVC-SAME: FortranDecimal.lib
 ! MSVC-SAME: /subsystem:console
 ! MSVC-SAME: "[[object_file]]"
+
+! Verify that certain linker flags are known to the frontend and are passed on
+! to the linker.
+
+! RUN: %flang -### -rpath /path/to/dir %s 2>&1 \
----------------
tarunprabhu wrote:

Fair enough. Done.

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


More information about the cfe-commits mailing list