OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eaf5997
)
Fix a GCC build failure from r223802
author
Duncan P. N. Exon Smith
<dexonsmith@apple.com>
Tue, 9 Dec 2014 18:52:38 +0000
(18:52 +0000)
committer
Duncan P. N. Exon Smith
<dexonsmith@apple.com>
Tue, 9 Dec 2014 18:52:38 +0000
(18:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223806
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/IR/Metadata.cpp
patch
|
blob
|
history
diff --git
a/lib/IR/Metadata.cpp
b/lib/IR/Metadata.cpp
index
150a186
..
cd5edd2
100644
(file)
--- 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<MDString>::Create(Str, Store.getAllocator());
+ auto *Entry =
+ StringMapEntry<MDString>::Create(Str, Store.getAllocator(), MDString());
bool WasInserted = Store.insert(Entry);
(void)WasInserted;
assert(WasInserted && "Expected entry to be inserted");