Fix a regression in my patch from last night that broke the llvmgcc4 build on
ppc llvm-svn: 28205
This commit is contained in:
parent
2814134a5d
commit
f801792e08
|
|
@ -68,7 +68,7 @@ void AsmPrinter::SwitchToTextSection(const char *NewSection,
|
|||
const GlobalValue *GV) {
|
||||
std::string NS;
|
||||
if (GV && GV->hasSection())
|
||||
NS = GV->getSection();
|
||||
NS = SwitchToSectionDirective + GV->getSection();
|
||||
else
|
||||
NS = NewSection;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue