mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-27 15:29:51 +00:00
Fix a FIXME, on darwin all virtual sections have a zerofill type.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187912 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
cf027a0d58
commit
189f7983fb
@ -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
Block a user