summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorFrederic Riss <friss@apple.com>2015-02-13 23:18:31 +0000
committerFrederic Riss <friss@apple.com>2015-02-13 23:18:31 +0000
commit9aa725ba765a54098de1eb49ba19bb4bddd684b8 (patch)
tree8d1ebe03a52dbb1e179cc7cfffd740c5a1ef6c3d /llvm
parent1b9da425c33c6dd8c161c384d9ae6e96e10669ac (diff)
downloadbcm5719-llvm-9aa725ba765a54098de1eb49ba19bb4bddd684b8.tar.gz
bcm5719-llvm-9aa725ba765a54098de1eb49ba19bb4bddd684b8.zip
[dsymutil] Downcase a function name.
llvm-svn: 229182
Diffstat (limited to 'llvm')
-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 fec256597be..e6c8ba550be 100644
--- a/llvm/tools/dsymutil/DwarfLinker.cpp
+++ b/llvm/tools/dsymutil/DwarfLinker.cpp
@@ -188,15 +188,15 @@ void DwarfLinker::reportWarning(const Twine &Warning, const DWARFUnit *Unit,
/// \brief Recursive helper to gather the child->parent relationships in the
/// original compile unit.
-void GatherDIEParents(const DWARFDebugInfoEntryMinimal *DIE, unsigned ParentIdx,
- CompileUnit &CU) {
+static void gatherDIEParents(const DWARFDebugInfoEntryMinimal *DIE,
+ unsigned ParentIdx, CompileUnit &CU) {
unsigned MyIdx = CU.getOrigUnit().getDIEIndex(DIE);
CU.getInfo(MyIdx).ParentIdx = ParentIdx;
if (DIE->hasChildren())
for (auto *Child = DIE->getFirstChild(); Child && !Child->isNULL();
Child = Child->getSibling())
- GatherDIEParents(Child, MyIdx, CU);
+ gatherDIEParents(Child, MyIdx, CU);
}
void DwarfLinker::startDebugObject(DWARFContext &Dwarf) {
@@ -329,7 +329,7 @@ bool DwarfLinker::link(const DebugMap &Map) {
CUDie->dump(outs(), CU.get(), 0);
}
Units.emplace_back(*CU);
- GatherDIEParents(CUDie, 0, Units.back());
+ gatherDIEParents(CUDie, 0, Units.back());
}
// Clean-up before starting working on the next object.
OpenPOWER on IntegriCloud