summaryrefslogtreecommitdiff
path: root/tools/llvm-nm
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2011-06-25 17:54:50 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2011-06-25 17:54:50 +0000
commit001c9205fca2220480589ec355cb6ec701a37e08 (patch)
tree19335fda23511b41e5ee89fc22367fb418093f33 /tools/llvm-nm
parentc44c915372ee453bd63a8b6b3eca586ab6f18545 (diff)
downloadllvm-001c9205fca2220480589ec355cb6ec701a37e08.tar.gz
llvm-001c9205fca2220480589ec355cb6ec701a37e08.tar.bz2
llvm-001c9205fca2220480589ec355cb6ec701a37e08.tar.xz
Make Binary the parent of ObjectFile and update children to new interface.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133870 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-nm')
-rw-r--r--tools/llvm-nm/llvm-nm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-nm/llvm-nm.cpp b/tools/llvm-nm/llvm-nm.cpp
index 1afa503295..5315b6cef6 100644
--- a/tools/llvm-nm/llvm-nm.cpp
+++ b/tools/llvm-nm/llvm-nm.cpp
@@ -277,7 +277,7 @@ static void DumpSymbolNamesFromObject(ObjectFile *obj) {
SymbolList.push_back(s);
}
- CurrentFilename = obj->getFilename();
+ CurrentFilename = obj->getFileName();
SortAndPrintSymbolList();
}