[llvm] 587360a - [MCDwarf][NFC] Typo in function documentation

Juan Manuel MARTINEZ CAAMAÑO via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 3 08:55:49 PST 2023


Author: Juan Manuel MARTINEZ CAAMAÑO
Date: 2023-01-03T17:54:53+01:00
New Revision: 587360a185a0c07574bcf5b7454d4369471551b5

URL: https://github.com/llvm/llvm-project/commit/587360a185a0c07574bcf5b7454d4369471551b5
DIFF: https://github.com/llvm/llvm-project/commit/587360a185a0c07574bcf5b7454d4369471551b5.diff

LOG: [MCDwarf][NFC] Typo in function documentation

Added: 
    

Modified: 
    llvm/lib/MC/MCDwarf.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/MC/MCDwarf.cpp b/llvm/lib/MC/MCDwarf.cpp
index a3ecebbfa0385..7c37e92ddf91d 100644
--- a/llvm/lib/MC/MCDwarf.cpp
+++ b/llvm/lib/MC/MCDwarf.cpp
@@ -114,7 +114,7 @@ void MCDwarfLineEntry::make(MCStreamer *MCOS, MCSection *Section) {
 }
 
 //
-// This helper routine returns an expression of End - Start + IntVal .
+// This helper routine returns an expression of End - Start - IntVal .
 //
 static inline const MCExpr *makeEndMinusStartExpr(MCContext &Ctx,
                                                   const MCSymbol &Start,


        


More information about the llvm-commits mailing list