[Lldb-commits] [PATCH] D55356: Add a method to get the "base" file address of an object file
Greg Clayton via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Dec 6 14:13:02 PST 2018
clayborg added inline comments.
================
Comment at: include/lldb/Symbol/ObjectFile.h:569
+ /// Returns the base file address of an object file (also known as the
+ /// preferred load address or image base address). This is typically the file
----------------
lemo wrote:
> "file address" can mean an offset within a container file.
>
> to avoid any confusion I'd use "base address" (or "image base address")
"file address" is the correct LLDB term so I would leave this as is. File addresses in LLDB are addresses as they are represented within the object file itself. Load addresses at unique and map to a single address in a live process where shared libraries are slid around. So "file address" is the correct LLDB term.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D55356/new/
https://reviews.llvm.org/D55356
More information about the lldb-commits
mailing list