[clang] [lldb] [llvm] Extending LLDB to work on AIX (PR #102601)
David Spickett via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 9 07:41:14 PDT 2024
================
@@ -1510,6 +1510,18 @@ bool Module::SetLoadAddress(Target &target, lldb::addr_t value,
return false;
}
+bool Module::SetLoadAddressByType(Target &target, lldb::addr_t value,
+ bool value_is_offset, bool &changed, int type_id) {
+ ObjectFile *object_file = GetObjectFile();
+ if (object_file != nullptr) {
+ changed = object_file->SetLoadAddressByType(target, value, value_is_offset, type_id);
+ return true;
+ } else {
+ changed = false;
+ }
----------------
DavidSpickett wrote:
Tip for later PRs, https://llvm.org/docs/CodingStandards.html#don-t-use-braces-on-simple-single-statement-bodies-of-if-else-loop-statements
(but don't bother with style changes at this point of course)
https://github.com/llvm/llvm-project/pull/102601
More information about the cfe-commits
mailing list