[Lldb-commits] [PATCH] Fetch object file load address if it isn't specified by the linker

Tamas Berghammer tberghammer at google.com
Tue Jun 16 16:48:50 PDT 2015


================
Comment at: include/lldb/Target/Process.h:3040
@@ +3039,3 @@
+    virtual Error
+    GetFileLoadAddress(const FileSpec& file, lldb::addr_t& load_addr)
+    {
----------------
ovyalov wrote:
> Nit - I'd rather call it GetModuleLoadAddress in order to underscore that it's not a regular file.
> 
I intentionally named it a FileLoadAddress because the function (at least with the current implementation) can because to find the load address of any file mapped into the memory. I am not sure if we will use it for anything else but it might be useful.

http://reviews.llvm.org/D10490

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the lldb-commits mailing list