[llvm] Jump table annotations for Linux (PR #112606)

Ard Biesheuvel via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 17 09:09:39 PDT 2024


================
@@ -453,6 +453,10 @@ class AsmPrinter : public MachineFunctionPass {
   /// function to the current output stream.
   virtual void emitJumpTableInfo();
 
+  /// Emit jump table annotations correlating each table with its associated
+  /// indirect branch instruction.
+  virtual void emitJumpTableAnnotation(const MachineFunction &MF, const MachineInstr &MI);
----------------
ardbiesheuvel wrote:

Is that a rhetorical question?

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


More information about the llvm-commits mailing list