[PATCH] D95998: [Debug-Info] [NFC] use emitDwarfUnitLength to handle debug line section unit length field
    Igor Kudrin via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Feb 16 22:59:21 PST 2021
    
    
  
ikudrin added inline comments.
================
Comment at: llvm/lib/MC/MCDwarf.cpp:500-503
+  emitAbsValue(
+      *MCOS,
+      makeEndMinusStartExpr(context, *SymWithoutUnitLength, *ProEndSym, 0),
+      OffsetSize);
----------------
What about using just `emitAbsoluteSymbolDiff()` here?
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D95998/new/
https://reviews.llvm.org/D95998
    
    
More information about the llvm-commits
mailing list