]> granicus.if.org Git - llvm/commitdiff
[llvm-objdump] - Fix comment. NFC.
authorGeorge Rimar <grimar@accesssoftek.com>
Mon, 28 Jan 2019 10:48:54 +0000 (10:48 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Mon, 28 Jan 2019 10:48:54 +0000 (10:48 +0000)
This was mentioned by James Henderson
in review for https://reviews.llvm.org/D57051.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@352348 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-objdump/llvm-objdump.cpp

index 82417658eac1cad43db766a1ba7de5e50416bee9..c84d8b65021ca856890cae2ca88f99d97dd98e65 100644 (file)
@@ -1371,7 +1371,7 @@ static void disassembleObject(const Target *TheTarget, const ObjectFile *Obj,
               continue;
             }
 
-            // Stop when rel_cur's address is past the current instruction.
+            // Stop when RelCur's offset is past the current instruction.
             if (Offset >= Index + Size)
               break;