[clang] [clang][driver] Expose a frontend option for trap-unreachable (PR #174894)
Paul Kirth via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 12 13:10:19 PST 2026
================
@@ -466,6 +466,7 @@ static bool initTargetOptions(const CompilerInstance &CI,
Options.Hotpatch = CodeGenOpts.HotPatch;
Options.JMCInstrument = CodeGenOpts.JMCInstrument;
Options.XCOFFReadOnlyPointers = CodeGenOpts.XCOFFReadOnlyPointers;
+ Options.TrapUnreachable = CodeGenOpts.TrapUnreachable;
----------------
ilovepi wrote:
That does seem better, so I uploaded the new version.
https://github.com/llvm/llvm-project/pull/174894
More information about the cfe-commits
mailing list