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:
a82e465
)
fix an embarassing typo that resulted in llvm-gcc bootstrap miscompare
author
Chris Lattner
<sabre@nondot.org>
Sat, 12 Sep 2009 00:49:00 +0000
(
00:49
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 12 Sep 2009 00:49:00 +0000
(
00:49
+0000)
because the sorting wasn't sorting.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81592
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp
b/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp
index 64d0315ba47a1993efac1a62c25b5665adf68ce3..f25c1a3b4b0a98ffc4ffae77baa704519894328f 100644
(file)
--- a/
lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp
+++ b/
lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp
@@
-883,7
+883,7
@@
void X86ATTAsmPrinter::PrintGlobalVariable(const GlobalVariable* GVar) {
static int SortSymbolPair(const void *LHS, const void *RHS) {
MCSymbol *LHSS = ((const std::pair<MCSymbol*, MCSymbol*>*)LHS)->first;
- MCSymbol *RHSS = ((const std::pair<MCSymbol*, MCSymbol*>*)
L
HS)->first;
+ MCSymbol *RHSS = ((const std::pair<MCSymbol*, MCSymbol*>*)
R
HS)->first;
return LHSS->getName().compare(RHSS->getName());
}