[flang-commits] [flang] [clang] [flang] Add depdendent-lib option to flang -fc1 on Windows (PR #72121)

Andrzej WarzyƄski via flang-commits flang-commits at lists.llvm.org
Mon Nov 13 14:39:48 PST 2023


================
@@ -0,0 +1,7 @@
+
+! RUN: %flang_fc1 -emit-mlir -triple aarch64-pc-windows-msvc --dependent-lib=libtest %s -o - 2>&1 | FileCheck %s
+! RUN: %flang_fc1 -emit-mlir -triple x86_64-pc-windows-msvc --dependent-lib=libtest %s -o - 2>&1 | FileCheck %s
+
+! CHECK: llvm.linker_options ["/DEFAULTLIB:", "libtest"]
+program test
+end program test
----------------
banach-space wrote:

Missing EOF?

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


More information about the flang-commits mailing list