diff options
| author | Alexander Shaposhnikov <shal1t712@gmail.com> | 2017-07-29 00:30:45 +0000 |
|---|---|---|
| committer | Alexander Shaposhnikov <shal1t712@gmail.com> | 2017-07-29 00:30:45 +0000 |
| commit | e574034f28edec57868123d040de6a962c9c71e8 (patch) | |
| tree | 70632372557a98e4af1d9ae3ad89743684b3bcd9 /llvm/tools/llvm-nm | |
| parent | 4fb45077c46fe11ccec1f123178dfd3387b10fdd (diff) | |
| download | bcm5719-llvm-e574034f28edec57868123d040de6a962c9c71e8.tar.gz bcm5719-llvm-e574034f28edec57868123d040de6a962c9c71e8.zip | |
[llvm] Update MachOObjectFile::exports interface
This diff removes the second argument of the method MachOObjectFile::exports.
In all in-tree uses this argument is equal to "this" and
without this argument the interface seems to be cleaner.
Test plan: make check-all
llvm-svn: 309462
Diffstat (limited to 'llvm/tools/llvm-nm')
| -rw-r--r-- | llvm/tools/llvm-nm/llvm-nm.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/tools/llvm-nm/llvm-nm.cpp b/llvm/tools/llvm-nm/llvm-nm.cpp index e6378a74306..126a9ae925e 100644 --- a/llvm/tools/llvm-nm/llvm-nm.cpp +++ b/llvm/tools/llvm-nm/llvm-nm.cpp @@ -1227,8 +1227,7 @@ dumpSymbolNamesFromObject(SymbolicFile &Obj, bool printName, HFlags & MachO::MH_NLIST_OUTOFSYNC_WITH_DYLDINFO) { unsigned ExportsAdded = 0; Error Err = Error::success(); - for (const llvm::object::ExportEntry &Entry : MachO->exports(Err, - MachO)) { + for (const llvm::object::ExportEntry &Entry : MachO->exports(Err)) { bool found = false; bool ReExport = false; if (!DyldInfoOnly) { |

