[Lldb-commits] [PATCH] D145462: [LLDB][ObjectFileELF] Support LoongArch64 in ApplyReloctions

David Spickett via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Mar 8 01:17:12 PST 2023


DavidSpickett accepted this revision.
DavidSpickett added a comment.
This revision is now accepted and ready to land.

LGTM.



================
Comment at: lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp:2623
+        (is_signed &&
+         ((int64_t)value > INT32_MAX && (int64_t)value < INT32_MIN))) {
+      Log *log = GetLog(LLDBLog::Modules);
----------------
SixWeining wrote:
> DavidSpickett wrote:
> > Should this be `||` not `&&`?
> Yes I think so. This should be an error in original code but not introduced this time. Do you mind I include the fix in current patch or in a separate one?
In this patch is fine.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D145462



More information about the lldb-commits mailing list