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

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


================
@@ -303,6 +323,9 @@ bool CodeGenAction::beginSourceFileAction() {
   Fortran::parser::Program &parseTree{*ci.getParsing().parseTree()};
   lb.lower(parseTree, ci.getInvocation().getSemanticsContext());
 
+  // Add dependent libraries
+  addDepdendentLibs(*mlirModule, ci);
----------------
banach-space wrote:

What are the semantics of "dependent-lib"  - what's the consumer of this flag? Wondering whether this isn't too early in the compilation to call this hook.

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


More information about the cfe-commits mailing list