[PATCH] D61969: Fix Bugzilla ID 41862 to support checking addresses of disassembled object

Nicholas Krause via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 17 09:23:11 PDT 2019


xerofoify added a comment.

Yes you did and gnu generally errors here. My point was is there is a third case so the if should really be:
if (StartAddress >= StopAddress)

  error("Start address should be less than stop address");

if (StartAddress < StopAddress)

  error("Start address should be less than stop address");

as this was missing and seems to occur in binutils on the gnu side.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61969/new/

https://reviews.llvm.org/D61969





More information about the llvm-commits mailing list