mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-21 20:12:56 +02:00
fix a mysterious and scary failure on test/CodeGen/X86/cstring.ll
llvm-svn: 76942
This commit is contained in:
parent
6339e5e786
commit
9aa6064164
@ -799,7 +799,7 @@ void X86ATTAsmPrinter::PrintGlobalVariable(const GlobalVariable* GVar) {
|
||||
|
||||
if (C->isNullValue() && !GVar->hasSection() &&
|
||||
!(Subtarget->isTargetDarwin() &&
|
||||
TheSection->getFlags() == SectionKind::RODataMergeStr)) {
|
||||
TAI->SectionKindForGlobal(GVar) == SectionKind::RODataMergeStr)) {
|
||||
// FIXME: This seems to be pretty darwin-specific
|
||||
if (GVar->hasExternalLinkage()) {
|
||||
if (const char *Directive = TAI->getZeroFillDirective()) {
|
||||
|
Loading…
Reference in New Issue
Block a user