[clang] [llvm] [MC] Emit a jump table size section (PR #101962)
Saleem Abdulrasool via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 20 07:21:46 PDT 2024
================
@@ -2764,6 +2770,27 @@ void AsmPrinter::emitJumpTableInfo() {
for (const MachineBasicBlock *MBB : JTBBs)
emitJumpTableEntry(MJTI, MBB, JTI);
}
+
+ if (EmitJumpTableSizesSection && TM.getTargetTriple().isOSBinFormatELF() &&
----------------
compnerd wrote:
Outside of flags and section name, this is pretty generic. Why not open this to all object fully formats?
https://github.com/llvm/llvm-project/pull/101962
More information about the llvm-commits
mailing list