diff options
author | Fangrui Song <maskray@google.com> | 2019-04-26 13:41:19 +0000 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2019-04-26 13:41:19 +0000 |
commit | 3153764c88c1ae0fa2223ce31112ef0e5e286c98 (patch) | |
tree | 1c25a593e4a6c98d7f03311b1bfcc224bfdf4f0d /llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp | |
parent | 8224bc081c0e0473c5deb6da59278450d49c2d8d (diff) | |
download | bcm5719-llvm-3153764c88c1ae0fa2223ce31112ef0e5e286c98.tar.gz bcm5719-llvm-3153764c88c1ae0fa2223ce31112ef0e5e286c98.zip |
s/Dwarf 5/DWARF v5/ NFC
llvm-svn: 359307
Diffstat (limited to 'llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp')
-rw-r--r-- | llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp b/llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp index 84e13adbef6..41d9928d72f 100644 --- a/llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp +++ b/llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp @@ -980,7 +980,7 @@ const llvm::DWARFDebugLine::FileNameEntry & DWARFDebugLine::LineTable::getFileNameEntry(uint64_t Index) const { uint16_t DwarfVersion = Prologue.getVersion(); assert(DwarfVersion != 0 && "LineTable has no dwarf version information"); - // Unlike previous versions, in Dwarf 5 the file names is 0-indexed. + // In DWARF v5 the file names are 0-indexed. if (DwarfVersion >= 5) return Prologue.FileNames[Index]; else |