[clang] [llvm] [LFI] Add MCLFIRewriter infrastructure (PR #172906)
Alexis Engelke via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 26 09:15:13 PST 2026
================
@@ -593,6 +594,8 @@ static bool ExecuteAssemblerImpl(AssemblerInvocation &Opts,
Triple T(Opts.Triple);
Str.reset(TheTarget->createMCObjectStreamer(
T, Ctx, std::move(MAB), std::move(OW), std::move(CE), *STI));
+ if (T.isLFI())
+ initializeLFIMCStreamer(*Str.get(), Ctx, T);
----------------
aengelke wrote:
Seems easy to miss and is likely missing in dozens of places? Couldn't createMCObjectStreamer do this?
https://github.com/llvm/llvm-project/pull/172906
More information about the cfe-commits
mailing list