forked from OSchip/llvm-project
parent
9881f9531c
commit
2039fc1f42
|
@ -183,10 +183,9 @@ void Resolver::doDefinedAtom(const DefinedAtom &atom) {
|
|||
<< "\n");
|
||||
|
||||
// Verify on zero-size atoms are pinned to start or end of section.
|
||||
if (atom.sectionPosition() == DefinedAtom::sectionPositionStart ||
|
||||
atom.sectionPosition() == DefinedAtom::sectionPositionEnd) {
|
||||
assert(atom.size() == 0);
|
||||
}
|
||||
assert((atom.sectionPosition() != DefinedAtom::sectionPositionStart &&
|
||||
atom.sectionPosition() != DefinedAtom::sectionPositionEnd) ||
|
||||
atom.size() == 0);
|
||||
|
||||
// add to list of known atoms
|
||||
_atoms.push_back(&atom);
|
||||
|
|
Loading…
Reference in New Issue