mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-12 06:06:32 +00:00
Fix a regression in my patch from last night that broke the llvmgcc4 build on
ppc git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28205 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
219f1b535d
commit
c8d37c6e14
@ -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
Block a user