summaryrefslogtreecommitdiffstats
path: root/llvm/tools
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2015-09-22 15:31:14 +0000
committerAdrian Prantl <aprantl@apple.com>2015-09-22 15:31:14 +0000
commit6ec471251a98b83befe2872ee54f510f4b059c6b (patch)
treeb1cd05594510791f66f08bc6ba0eff2f65616a8d /llvm/tools
parent1bf2bb713b353ac76616ebb6cfcc8b45a0a3e117 (diff)
downloadbcm5719-llvm-6ec471251a98b83befe2872ee54f510f4b059c6b.tar.gz
bcm5719-llvm-6ec471251a98b83befe2872ee54f510f4b059c6b.zip
Fix a typo.
llvm-svn: 248283
Diffstat (limited to 'llvm/tools')
-rw-r--r--llvm/tools/dsymutil/DwarfLinker.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/tools/dsymutil/DwarfLinker.cpp b/llvm/tools/dsymutil/DwarfLinker.cpp
index 6574a479792..f3217f9b227 100644
--- a/llvm/tools/dsymutil/DwarfLinker.cpp
+++ b/llvm/tools/dsymutil/DwarfLinker.cpp
@@ -1186,7 +1186,7 @@ private:
/// \brief Mark the passed DIE as well as all the ones it depends on
/// as kept.
- void keepDIEAndDenpendencies(RelocationManager &RelocMgr,
+ void keepDIEAndDependencies(RelocationManager &RelocMgr,
const DWARFDebugInfoEntryMinimal &DIE,
CompileUnit::DIEInfo &MyInfo,
const DebugMapObject &DMO, CompileUnit &CU,
@@ -2067,7 +2067,7 @@ unsigned DwarfLinker::shouldKeepDIE(RelocationManager &RelocMgr,
/// back to lookForDIEsToKeep while adding TF_DependencyWalk to the
/// TraversalFlags to inform it that it's not doing the primary DIE
/// tree walk.
-void DwarfLinker::keepDIEAndDenpendencies(RelocationManager &RelocMgr,
+void DwarfLinker::keepDIEAndDependencies(RelocationManager &RelocMgr,
const DWARFDebugInfoEntryMinimal &Die,
CompileUnit::DIEInfo &MyInfo,
const DebugMapObject &DMO,
@@ -2151,7 +2151,7 @@ void DwarfLinker::lookForDIEsToKeep(RelocationManager &RelocMgr,
if ((Flags & TF_DependencyWalk) && AlreadyKept)
return;
- // We must not call shouldKeepDIE while called from keepDIEAndDenpendencies,
+ // We must not call shouldKeepDIE while called from keepDIEAndDependencies,
// because it would screw up the relocation finding logic.
if (!(Flags & TF_DependencyWalk))
Flags = shouldKeepDIE(RelocMgr, Die, CU, MyInfo, Flags);
@@ -2159,7 +2159,7 @@ void DwarfLinker::lookForDIEsToKeep(RelocationManager &RelocMgr,
// If it is a newly kept DIE mark it as well as all its dependencies as kept.
if (!AlreadyKept && (Flags & TF_Keep)) {
bool UseOdr = (Flags & TF_DependencyWalk) ? (Flags & TF_ODR) : CU.hasODR();
- keepDIEAndDenpendencies(RelocMgr, Die, MyInfo, DMO, CU, UseOdr);
+ keepDIEAndDependencies(RelocMgr, Die, MyInfo, DMO, CU, UseOdr);
}
// The TF_ParentWalk flag tells us that we are currently walking up
// the parent chain of a required DIE, and we don't want to mark all
OpenPOWER on IntegriCloud