[clang] [flang] [clang][driver] Special care for -l flags in config files (PR #117573)
Paul Osmialowski via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 26 09:00:08 PST 2024
================
@@ -1250,6 +1273,7 @@ Compilation *Driver::BuildCompilation(ArrayRef<const char *> ArgList) {
if (!ContainsError)
ContainsError = loadConfigFiles();
bool HasConfigFile = !ContainsError && (CfgOptions.get() != nullptr);
+ bool HasConfigLinkerIn = !ContainsError && (CfgLinkerInputs.get() != nullptr);
----------------
pawosm-arm wrote:
conceptually this is the right place for checking it. ContainsError is a regular variable, who knows what will happen to it before I look into its value so many lines below.
https://github.com/llvm/llvm-project/pull/117573
More information about the cfe-commits
mailing list