summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Samsonov <vonosmas@gmail.com>2014-10-20 20:33:20 +0000
committerAlexey Samsonov <vonosmas@gmail.com>2014-10-20 20:33:20 +0000
commite505b3d5412500e2e7998776bb0681a01e0529fd (patch)
treead8ee62291a9fd5c43b9f7c2f59f9c1dc4d7872c
parent262b278dae1b3c82a87d03d5bed0f132bd36343d (diff)
downloadllvm-e505b3d5412500e2e7998776bb0681a01e0529fd.tar.gz
Constify getELFDynamicSymbolIterators standalone function. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220232 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Object/ELFObjectFile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Object/ELFObjectFile.h b/include/llvm/Object/ELFObjectFile.h
index 54aa99c62630..4676ae8bdbc0 100644
--- a/include/llvm/Object/ELFObjectFile.h
+++ b/include/llvm/Object/ELFObjectFile.h
@@ -934,7 +934,7 @@ inline std::error_code getELFRelocationAddend(const RelocationRef R,
}
inline std::pair<symbol_iterator, symbol_iterator>
-getELFDynamicSymbolIterators(SymbolicFile *Obj) {
+getELFDynamicSymbolIterators(const SymbolicFile *Obj) {
return cast<ELFObjectFileBase>(Obj)->getELFDynamicSymbolIterators();
}