quic-garvgupt wrote: `ToolChain::UnwindLibType ToolChain::GetUnwindLibType( const ArgList &Args) const { if (unwindLibType) return *unwindLibType;
const Arg *A = Args.getLastArg(options::OPT_unwindlib_EQ); StringRef LibName = A ? A->getValue() : CLANG_DEFAULT_UNWINDLIB;` If the --unwindlib flag is not set to empty explicitly, then it takes whatever it set by `CLANG_DEFAULT_UNWINDLIB`. I think, by adding `--unwindlib= ` to the instance which is failing should fix the issue https://github.com/llvm/llvm-project/pull/132807 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits