summaryrefslogtreecommitdiffstats
path: root/llvm/tools/lto/LTOModule.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/tools/lto/LTOModule.cpp')
-rw-r--r--llvm/tools/lto/LTOModule.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/lto/LTOModule.cpp b/llvm/tools/lto/LTOModule.cpp
index 0ca96bc28ac..661674c8b2e 100644
--- a/llvm/tools/lto/LTOModule.cpp
+++ b/llvm/tools/lto/LTOModule.cpp
@@ -665,7 +665,7 @@ static bool isAliasToDeclaration(const GlobalAlias &V) {
bool LTOModule::ParseSymbols() {
// Use mangler to add GlobalPrefix to names to match linker names.
MCContext Context(*_target->getMCAsmInfo(), *_target->getRegisterInfo(),
- NULL);
+ NULL, NULL);
Mangler mangler(Context, *_target->getTargetData());
// add functions
OpenPOWER on IntegriCloud