[Lldb-commits] [lldb] Add complete ObjectFileJSON support for sections. (PR #129916)
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Thu Mar 6 22:21:09 PST 2025
================
@@ -693,7 +690,14 @@ bool fromJSON(const llvm::json::Value &value,
o.map("address", section.address) && o.map("size", section.size) &&
o.map("read", section.read) && o.map("write", section.write) &&
o.map("execute", section.execute) &&
- o.mapOptional("subsections", section.subsections);
+ o.mapOptional("subsections", section.subsections) &&
+ o.map("user_id", section.user_id) &&
+ o.map("file_offset", section.file_offset) &&
+ o.map("file_size", section.file_size) &&
+ o.map("log2align", section.log2align) &&
----------------
JDevlieghere wrote:
How about just `alignment` instead of `log2align`?
https://github.com/llvm/llvm-project/pull/129916
More information about the lldb-commits
mailing list