summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo
diff options
context:
space:
mode:
authorHiroshi Inoue <inouehrs@jp.ibm.com>2017-07-03 06:32:59 +0000
committerHiroshi Inoue <inouehrs@jp.ibm.com>2017-07-03 06:32:59 +0000
commitddb34d84c9bfc65205d52b98d36eda318b56ae81 (patch)
treed18245fad165eef6cee04fe61a524b4a752290c3 /llvm/lib/DebugInfo
parent8036970008aae90b4a6a2afdbb9e9b672b5ebd02 (diff)
downloadbcm5719-llvm-ddb34d84c9bfc65205d52b98d36eda318b56ae81.tar.gz
bcm5719-llvm-ddb34d84c9bfc65205d52b98d36eda318b56ae81.zip
fix trivial typos in comments; NFC
llvm-svn: 307004
Diffstat (limited to 'llvm/lib/DebugInfo')
-rw-r--r--llvm/lib/DebugInfo/DWARF/DWARFDie.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/DebugInfo/DWARF/DWARFDie.cpp b/llvm/lib/DebugInfo/DWARF/DWARFDie.cpp
index ef416f72ad1..111f0bbd444 100644
--- a/llvm/lib/DebugInfo/DWARF/DWARFDie.cpp
+++ b/llvm/lib/DebugInfo/DWARF/DWARFDie.cpp
@@ -395,7 +395,7 @@ DWARFDie::attribute_iterator::attribute_iterator(DWARFDie D, bool End) :
void DWARFDie::attribute_iterator::updateForIndex(
const DWARFAbbreviationDeclaration &AbbrDecl, uint32_t I) {
Index = I;
- // AbbrDecl must be valid befor calling this function.
+ // AbbrDecl must be valid before calling this function.
auto NumAttrs = AbbrDecl.getNumAttributes();
if (Index < NumAttrs) {
AttrValue.Attr = AbbrDecl.getAttrByIndex(Index);
OpenPOWER on IntegriCloud