[clang] [clang][modules] Reset codegen options. (PR #74006)
Juergen Ributzka via cfe-commits
cfe-commits at lists.llvm.org
Fri Dec 1 16:02:18 PST 2023
================
@@ -515,6 +430,8 @@ ENUM_CODEGENOPT(ZeroCallUsedRegs, llvm::ZeroCallUsedRegs::ZeroCallUsedRegsKind,
/// non-deleting destructors. (No effect on Microsoft ABI.)
CODEGENOPT(CtorDtorReturnThis, 1, 0)
+#include "DebugOptions.def"
----------------
ributzka wrote:
That was my initial idea, but it ballooned into a lot of code changes. Turns out the debug options are used in a lot of places. It could be done, but it would be a lot of churn.
https://github.com/llvm/llvm-project/pull/74006
More information about the cfe-commits
mailing list