summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2019-04-26 13:41:19 +0000
committerFangrui Song <maskray@google.com>2019-04-26 13:41:19 +0000
commit3153764c88c1ae0fa2223ce31112ef0e5e286c98 (patch)
tree1c25a593e4a6c98d7f03311b1bfcc224bfdf4f0d /llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
parent8224bc081c0e0473c5deb6da59278450d49c2d8d (diff)
downloadbcm5719-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.cpp2
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
OpenPOWER on IntegriCloud