[llvm] Add CodeView S_LABEL32 symbols for jump table targets (for Windows debugging) (PR #146121)
    Fangrui Song via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Jun 30 21:29:33 PDT 2025
    
    
  
================
@@ -3566,15 +3566,38 @@ void CodeViewDebug::collectDebugInfoForJumpTables(const MachineFunction *MF,
           break;
         }
 
-        CurFn->JumpTables.push_back(
-            {EntrySize, Base, BaseOffset, Branch,
-             MF->getJTISymbol(JumpTableIndex, MMI->getContext()),
-             JTI.getJumpTables()[JumpTableIndex].MBBs.size()});
+        const MachineJumpTableEntry &JTE = JTI.getJumpTables()[JumpTableIndex];
+
----------------
MaskRay wrote:
We usually don't add blank lines after variable declarations.
https://github.com/llvm/llvm-project/pull/146121
    
    
More information about the llvm-commits
mailing list