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:
13f161c
)
Don't prefix section directives with a tab. Doing so causes blank lines to
author
Chris Lattner
<sabre@nondot.org>
Tue, 9 May 2006 05:19:59 +0000
(
05:19
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 9 May 2006 05:19:59 +0000
(
05:19
+0000)
be emitted to the .s file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28189
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 28ff772d1ce0b58f1d81ca8515815c15a892e712..846d41d25f0d44208927e43048460997d6fcd9dd 100644
(file)
--- a/
lib/CodeGen/AsmPrinter.cpp
+++ b/
lib/CodeGen/AsmPrinter.cpp
@@
-123,7
+123,7
@@
void AsmPrinter::SwitchToDataSection(const char *NewSection,
if (GV && GV->hasSection())
NS = SwitchToSectionDirective + GV->getSection();
else
- NS =
std::string("\t")+
NewSection;
+ NS = NewSection;
if (CurrentSection != NS) {
CurrentSection = NS;