projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix use after free.
[oota-llvm.git]
/
lib
/
MC
/
SubtargetFeature.cpp
diff --git
a/lib/MC/SubtargetFeature.cpp
b/lib/MC/SubtargetFeature.cpp
index 247f73a6c0db225f7c5e654d318f393a07ecf724..c930baf1badc4ed37141c7304286eb88e16feffc 100644
(file)
--- a/
lib/MC/SubtargetFeature.cpp
+++ b/
lib/MC/SubtargetFeature.cpp
@@
-182,7
+182,7
@@
SubtargetFeatures::SubtargetFeatures(const StringRef Initial) {
}
-
StringRef
SubtargetFeatures::getString() const {
+
std::string
SubtargetFeatures::getString() const {
return Join(Features);
}