clayborg added a comment. Example code to resolve this would be:
Address entry_addr = objfile->GetEntryPointAddress(); lldb::addr_t entry_load_addr = entry_addr.GetLoadAddress(target); if (entry_load_addr != LLDB_INVALID_ADDRESS) { // We were able to resolve the address as the target has the section loaded } else { // The section is not loaded in the target yet. We might have a target that hasn't // been launched yet, the process might have exited, or the address might be // from a shared library that will get loaded later in the process' lifetime } http://reviews.llvm.org/D19603 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits