mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-27 14:34:58 +00:00
fix a mysterious and scary failure on test/CodeGen/X86/cstring.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76942 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fb3431aec5
commit
e2663d076c
@ -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…
x
Reference in New Issue
Block a user