forked from OSchip/llvm-project
Fix a FIXME, on darwin all virtual sections have a zerofill type.
llvm-svn: 187912
This commit is contained in:
parent
36b2a3b0e5
commit
42ae459174
|
@ -346,7 +346,8 @@ void MCMachOStreamer::EmitZerofill(const MCSection *Section, MCSymbol *Symbol,
|
|||
if (!Symbol)
|
||||
return;
|
||||
|
||||
// FIXME: Assert that this section has the zerofill type.
|
||||
// On darwin all virtual sections have zerofill type.
|
||||
assert(Section->isVirtualSection() && "Section does not have zerofill type!");
|
||||
|
||||
assert(Symbol->isUndefined() && "Cannot define a symbol twice!");
|
||||
|
||||
|
|
Loading…
Reference in New Issue