diff options
author | Chris Lattner <sabre@nondot.org> | 2006-05-09 16:41:59 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-05-09 16:41:59 +0000 |
commit | c8d37c6e140dcddfc2d841ccd0a0924030ce15f8 (patch) | |
tree | 538484c3b42a8bbff45264494da60a88386e751d /lib | |
parent | 219f1b535dd65cf49d783f846bd8da80e3700c2e (diff) | |
download | external_llvm-c8d37c6e140dcddfc2d841ccd0a0924030ce15f8.zip external_llvm-c8d37c6e140dcddfc2d841ccd0a0924030ce15f8.tar.gz external_llvm-c8d37c6e140dcddfc2d841ccd0a0924030ce15f8.tar.bz2 |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CodeGen/AsmPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter.cpp index d95b691..db67793 100644 --- a/lib/CodeGen/AsmPrinter.cpp +++ b/lib/CodeGen/AsmPrinter.cpp @@ -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; |