[llvm] [DWARF] Emit a worst-case prologue_end flag for pathological inputs (PR #107849)

Orlando Cazalet-Hyams via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 23 06:26:51 PDT 2024


================
@@ -2131,36 +2141,121 @@ void DwarfDebug::beginInstruction(const MachineInstr *MI) {
     PrevInstLoc = DL;
 }
 
-static std::pair<const MachineInstr *, bool>
+std::pair<const MachineInstr *, bool>
----------------
OCHyams wrote:

Why do we need to remove `static` here?

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


More information about the llvm-commits mailing list