[clang] [llvm] [LFI] Add MCLFIRewriter infrastructure (PR #172906)

Sergei Barannikov via cfe-commits cfe-commits at lists.llvm.org
Sun Mar 22 07:44:59 PDT 2026


================
@@ -237,6 +238,11 @@ class Target {
       mca::InstrumentManager *(*)(const MCSubtargetInfo &STI,
                                   const MCInstrInfo &MCII);
 
+  using MCLFIRewriterCtorTy =
+      MCLFIRewriter *(*)(MCStreamer & S,
----------------
s-barannikov wrote:

This should be

```suggestion
      std::unique_ptr<MCLFIRewriter> (*)(MCStreamer & S,
```
Also, appears not clang-formatted

https://github.com/llvm/llvm-project/pull/172906


More information about the cfe-commits mailing list