OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb3431a
)
fix a mysterious and scary failure on test/CodeGen/X86/cstring.ll
author
Chris Lattner
<sabre@nondot.org>
Fri, 24 Jul 2009 03:55:48 +0000
(
03:55
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 24 Jul 2009 03:55:48 +0000
(
03:55
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76942
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
74145dc
..
334172a
100644
(file)
--- a/
lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp
+++ b/
lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp
@@
-799,7
+799,7
@@
void X86ATTAsmPrinter::PrintGlobalVariable(const GlobalVariable* GVar) {
if (C->isNullValue() && !GVar->hasSection() &&
!(Subtarget->isTargetDarwin() &&
- T
heSection->getFlags(
) == SectionKind::RODataMergeStr)) {
+ T
AI->SectionKindForGlobal(GVar
) == SectionKind::RODataMergeStr)) {
// FIXME: This seems to be pretty darwin-specific
if (GVar->hasExternalLinkage()) {
if (const char *Directive = TAI->getZeroFillDirective()) {