diff options
Diffstat (limited to 'lib/MC/MCModule.cpp')
-rw-r--r-- | lib/MC/MCModule.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MC/MCModule.cpp b/lib/MC/MCModule.cpp index 17619d9..5890b4b 100644 --- a/lib/MC/MCModule.cpp +++ b/lib/MC/MCModule.cpp @@ -21,7 +21,7 @@ static bool AtomComp(const MCAtom *L, uint64_t Addr) { void MCModule::map(MCAtom *NewAtom) { uint64_t Begin = NewAtom->Begin; - assert(Begin < NewAtom->End && "Creating MCAtom with endpoints reversed?"); + assert(Begin <= NewAtom->End && "Creating MCAtom with endpoints reversed?"); // Check for atoms already covering this range. AtomListTy::iterator I = std::lower_bound(atom_begin(), atom_end(), |