diff options
Diffstat (limited to 'llvm/lib/LTO')
| -rw-r--r-- | llvm/lib/LTO/LTOCodeGenerator.cpp | 2 | ||||
| -rw-r--r-- | llvm/lib/LTO/ThinLTOCodeGenerator.cpp | 1 | ||||
| -rw-r--r-- | llvm/lib/LTO/UpdateCompilerUsed.cpp | 2 |
3 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/LTO/LTOCodeGenerator.cpp b/llvm/lib/LTO/LTOCodeGenerator.cpp index 71107766675..579e055a689 100644 --- a/llvm/lib/LTO/LTOCodeGenerator.cpp +++ b/llvm/lib/LTO/LTOCodeGenerator.cpp @@ -455,7 +455,7 @@ void LTOCodeGenerator::applyScopeRestrictions() { // Update the llvm.compiler_used globals to force preserving libcalls and // symbols referenced from asm - UpdateCompilerUsed(*MergedModule, *TargetMach, AsmUndefinedRefs); + updateCompilerUsed(*MergedModule, *TargetMach, AsmUndefinedRefs); internalizeModule(*MergedModule, mustPreserveGV); diff --git a/llvm/lib/LTO/ThinLTOCodeGenerator.cpp b/llvm/lib/LTO/ThinLTOCodeGenerator.cpp index 36c3e2e9096..5c97e4d69e1 100644 --- a/llvm/lib/LTO/ThinLTOCodeGenerator.cpp +++ b/llvm/lib/LTO/ThinLTOCodeGenerator.cpp @@ -13,7 +13,6 @@ //===----------------------------------------------------------------------===// #include "llvm/LTO/ThinLTOCodeGenerator.h" -#include "llvm/LTO/UpdateCompilerUsed.h" #ifdef HAVE_LLVM_REVISION #include "LLVMLTORevision.h" 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) |

