projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
DW_AT_virtuality is also defined to be constant, not flag.
[oota-llvm.git]
/
lib
/
CodeGen
/
TargetLoweringObjectFileImpl.cpp
diff --git
a/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
b/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
index 3848f4d4d4c463abaa3ae9bfe7500da341e2366b..7fe164a966b85728a244fadf00e29b845793b3d9 100644
(file)
--- a/
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
+++ b/
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
@@
-358,9
+358,9
@@
getExplicitSectionGlobal(const GlobalValue *GV, SectionKind Kind,
TAA, TAAParsed, StubSize);
if (!ErrorCode.empty()) {
// If invalid, report the error with report_fatal_error.
TAA, TAAParsed, StubSize);
if (!ErrorCode.empty()) {
// If invalid, report the error with report_fatal_error.
- report_fatal_error("Global variable '" + GV->getName
Str
() +
-
"' has an invalid section specifier '" + GV->getSection()
+
- "': " + ErrorCode + ".");
+ report_fatal_error("Global variable '" + GV->getName() +
+
"' has an invalid section specifier '"
+
+
GV->getSection() +
"': " + ErrorCode + ".");
// Fall back to dropping it into the data section.
return DataSection;
}
// Fall back to dropping it into the data section.
return DataSection;
}
@@
-379,9
+379,9
@@
getExplicitSectionGlobal(const GlobalValue *GV, SectionKind Kind,
// to reject it here.
if (S->getTypeAndAttributes() != TAA || S->getStubSize() != StubSize) {
// If invalid, report the error with report_fatal_error.
// to reject it here.
if (S->getTypeAndAttributes() != TAA || S->getStubSize() != StubSize) {
// If invalid, report the error with report_fatal_error.
- report_fatal_error("Global variable '" + GV->getName
Str
() +
- "' section type or attributes does not match previous"
- " section specifier");
+ report_fatal_error("Global variable '" + GV->getName() +
+
"' section type or attributes does not match previous"
+
" section specifier");
}
return S;
}
return S;
@@
-536,9
+536,7
@@
getCFIPersonalitySymbol(const GlobalValue *GV, Mangler *Mang,
// Add information about the stub reference to MachOMMI so that the stub
// gets emitted by the asmprinter.
MCSymbol *SSym = getContext().GetOrCreateSymbol(Name.str());
// Add information about the stub reference to MachOMMI so that the stub
// gets emitted by the asmprinter.
MCSymbol *SSym = getContext().GetOrCreateSymbol(Name.str());
- MachineModuleInfoImpl::StubValueTy &StubSym =
- GV->hasHiddenVisibility() ? MachOMMI.getHiddenGVStubEntry(SSym) :
- MachOMMI.getGVStubEntry(SSym);
+ MachineModuleInfoImpl::StubValueTy &StubSym = MachOMMI.getGVStubEntry(SSym);
if (StubSym.getPointer() == 0) {
MCSymbol *Sym = Mang->getSymbol(GV);
StubSym = MachineModuleInfoImpl::StubValueTy(Sym, !GV->hasLocalLinkage());
if (StubSym.getPointer() == 0) {
MCSymbol *Sym = Mang->getSymbol(GV);
StubSym = MachineModuleInfoImpl::StubValueTy(Sym, !GV->hasLocalLinkage());