[all-commits] [llvm/llvm-project] ea95da: [lldb] Add an overload to SetModuleLoadAddress tha...
Jonas Devlieghere via All-commits
all-commits at lists.llvm.org
Thu Apr 6 10:44:12 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ea95da1809008abd9b81b0fb2cc6ec6438c4c0e0
https://github.com/llvm/llvm-project/commit/ea95da1809008abd9b81b0fb2cc6ec6438c4c0e0
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2023-04-06 (Thu, 06 Apr 2023)
Changed paths:
M lldb/include/lldb/API/SBTarget.h
M lldb/source/API/SBTarget.cpp
M lldb/test/API/functionalities/multiple-slides/TestMultipleSlides.py
Log Message:
-----------
[lldb] Add an overload to SetModuleLoadAddress that takes an unsigned value
Currently, SBTarget::SetModuleLoadAddress does not accept large slides
needed to load images in high memory. This function should always have
taken an unsigned as the slide, as it immediately passes it to
Target::SetSectionLoadAddress which takes an unsigned.
This patch adds an overload and exposes that to SWIG instead of the
signed variant. I've marked the signed variant as deprecated and added
check that the slide is positive.
rdar://101355155
Differential revision: https://reviews.llvm.org/D147482
More information about the All-commits
mailing list