projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
All MCSections are now required to have a SectionKind.
[oota-llvm.git]
/
lib
/
Target
/
TargetLoweringObjectFile.cpp
diff --git
a/lib/Target/TargetLoweringObjectFile.cpp
b/lib/Target/TargetLoweringObjectFile.cpp
index 9ba12bb2184f402c8da157b5a1571fcaea55abd0..025e3f21b7c7f140a5cc7370823aa9098255b789 100644
(file)
--- a/
lib/Target/TargetLoweringObjectFile.cpp
+++ b/
lib/Target/TargetLoweringObjectFile.cpp
@@
-249,7
+249,7
@@
getOrCreateSection(const char *Name, bool isDirective,
if (MCSection *S = Ctx->GetSection(Name))
return S;
SectionKind K = SectionKind::get(Kind, false /*weak*/, !isDirective);
- return MCSection
WithKind
::Create(Name, K, *Ctx);
+ return MCSection::Create(Name, K, *Ctx);
}