[clang] [clang][driver] Fix -print-libgcc-file-name on Darwin platforms (PR #98325)
Gábor Horváth via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 11 03:33:41 PDT 2024
================
@@ -2230,6 +2239,7 @@ bool Driver::HandleImmediateArgs(const Compilation &C) {
}
if (C.getArgs().hasArg(options::OPT_print_runtime_dir)) {
+ initDarwinTarget();
----------------
Xazax-hun wrote:
I removed this change for now because I think we should probably fix this separately. Only adding the early init did not change the behavior for the cases we are interested in.
https://github.com/llvm/llvm-project/pull/98325
More information about the cfe-commits
mailing list