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

Jake Ehrlich via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 16 13:12:51 PDT 2019


jakehehrlich added a comment.

Also what does GNU objdump do in this case?



================
Comment at: llvm/tools/llvm-objdump/llvm-objdump.cpp:1379
     error("Start address should be less than stop address");
+  else if (StartAddress == StopAddress)
+    error("Start address should not be equal to  target object's stop address");
----------------
If this is in fact the behavior we want we can just make the above operator '>=' and the error message will still be valid (actually as is the error message is technically wrong but would be made right if used '>=')


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