summaryrefslogtreecommitdiffstats
path: root/llvm/lib/LTO/UpdateCompilerUsed.cpp
diff options
context:
space:
mode:
authorDavide Italiano <davide@freebsd.org>2016-06-22 19:50:42 +0000
committerDavide Italiano <davide@freebsd.org>2016-06-22 19:50:42 +0000
commit53d457c615a002b9a013035627fdb7ec6411faea (patch)
treec0a3c28787cb7c1ea16ad021f236e52f84326682 /llvm/lib/LTO/UpdateCompilerUsed.cpp
parent30c50f3cea27964f85b53358e38a60fd07642960 (diff)
downloadbcm5719-llvm-53d457c615a002b9a013035627fdb7ec6411faea.tar.gz
bcm5719-llvm-53d457c615a002b9a013035627fdb7ec6411faea.zip
[UpdateCompilerUsed] API rename and cleanup, suggested by Rafaael.
* UpdateCompilerUsed() -> updateCompilerUsed() * ThinLTO doesn't use the API so we can remove the include * Clean up unused #include <functional> from the header * Rename #ifdef guard comment to be correct. llvm-svn: 273461
Diffstat (limited to 'llvm/lib/LTO/UpdateCompilerUsed.cpp')
-rw-r--r--llvm/lib/LTO/UpdateCompilerUsed.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/LTO/UpdateCompilerUsed.cpp b/llvm/lib/LTO/UpdateCompilerUsed.cpp
index 11773082c22..83cdfef507c 100644
--- a/llvm/lib/LTO/UpdateCompilerUsed.cpp
+++ b/llvm/lib/LTO/UpdateCompilerUsed.cpp
@@ -112,7 +112,7 @@ private:
} // namespace anonymous
-void llvm::UpdateCompilerUsed(Module &TheModule, const TargetMachine &TM,
+void llvm::updateCompilerUsed(Module &TheModule, const TargetMachine &TM,
const StringSet<> &AsmUndefinedRefs) {
SmallPtrSet<const GlobalValue *, 8> UsedValues;
PreserveLibCallsAndAsmUsed(AsmUndefinedRefs, TM, UsedValues)
OpenPOWER on IntegriCloud