projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
219f1b5
)
Fix a regression in my patch from last night that broke the llvmgcc4 build on
author
Chris Lattner
<sabre@nondot.org>
Tue, 9 May 2006 16:41:59 +0000
(16:41 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 9 May 2006 16:41:59 +0000
(16:41 +0000)
ppc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28205
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/AsmPrinter.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/AsmPrinter.cpp
b/lib/CodeGen/AsmPrinter.cpp
index d95b6911927f0f60bd648920f50ebfbeff978023..db677939248d63fed3adc56e7e3a52666e5f309e 100644
(file)
--- 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;