From 973ce33e23076c21bb376b7bc9411f39e1434350 Mon Sep 17 00:00:00 2001 From: "Duncan P. N. Exon Smith" Date: Tue, 9 Dec 2014 18:52:38 +0000 Subject: [PATCH] Fix a GCC build failure from r223802 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223806 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/IR/Metadata.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/IR/Metadata.cpp b/lib/IR/Metadata.cpp index 150a186424c..cd5edd216c3 100644 --- a/lib/IR/Metadata.cpp +++ b/lib/IR/Metadata.cpp @@ -341,7 +341,8 @@ MDString *MDString::get(LLVMContext &Context, StringRef Str) { if (I != Store.end()) return &I->second; - auto *Entry = StringMapEntry::Create(Str, Store.getAllocator()); + auto *Entry = + StringMapEntry::Create(Str, Store.getAllocator(), MDString()); bool WasInserted = Store.insert(Entry); (void)WasInserted; assert(WasInserted && "Expected entry to be inserted"); -- 2.34.1