[clang] [llvm] [MC] Emit a jump table size section (PR #101962)
Nabeel Omer via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 22 03:26:06 PDT 2024
================
@@ -2764,6 +2770,27 @@ void AsmPrinter::emitJumpTableInfo() {
for (const MachineBasicBlock *MBB : JTBBs)
emitJumpTableEntry(MJTI, MBB, JTI);
}
+
+ if (EmitJumpTableSizesSection && TM.getTargetTriple().isOSBinFormatELF() &&
----------------
omern1 wrote:
I've added support for COFF (hopefully correctly). I'm completely unfamiliar with MachO so I suggest that we leave that for a followup.
https://github.com/llvm/llvm-project/pull/101962
More information about the cfe-commits
mailing list