llvm-project/lldb
Pavel Labath d1e3fe2190 Rename ObjectFile::GetHeaderAddress to GetBaseAddress
Summary:
This function was named such because in the case of MachO files, the
mach header is located at this address. However all (most?) usages of
this function were not interested in that fact, but the fact that this
address is used as the base address for expressing various relative
addresses in the object file.

For other object file formats, this name is not appropriate (and it's
probably the reason why this function was not implemented in these
classes). In the ELF case the ELF header will usually end up at this
address, but this is a result of the linker optimizing the file layout
and not a requirement of the spec. For COFF files, I believe the is no
header located at this address either.

Reviewers: clayborg, jasonmolenda, amccarth, lemo, stella.stamenova

Subscribers: lldb-commits

Differential Revision: https://reviews.llvm.org/D55422

llvm-svn: 348849
2018-12-11 15:21:15 +00:00
..
cmake [CMake] Fix side-effect from LLDB_VERSION change in r346668 for framework-enabled builds 2018-12-05 12:18:44 +00:00
docs Test commit 2018-11-03 05:12:15 +00:00
examples Remove header grouping comments. 2018-11-11 23:17:06 +00:00
include/lldb Rename ObjectFile::GetHeaderAddress to GetBaseAddress 2018-12-11 15:21:15 +00:00
lit Rewrite pexpect-based test in LIT/FileCheck. 2018-12-10 22:57:47 +00:00
lldb.xcodeproj Add SBInitializerOptions.h to the Xcode project. 2018-12-07 02:28:04 +00:00
lldb.xcworkspace Fix a typo in the gtest build target for Debug configuration. 2018-04-10 17:49:56 +00:00
packages/Python/lldbsuite Rewrite pexpect-based test in LIT/FileCheck. 2018-12-10 22:57:47 +00:00
resources Fix up Info.plist when building LLDB.framework with CMake 2018-06-19 02:59:30 +00:00
scripts Make scripts/analyzer-project-deps compatible with python3 2018-12-06 10:27:38 +00:00
source Rename ObjectFile::GetHeaderAddress to GetBaseAddress 2018-12-11 15:21:15 +00:00
test Revert "[CMake] Streamline code signing for debugserver and pass entitlements to extended llvm_codesign" 2018-11-27 00:25:49 +00:00
third_party/Python/module
tools Re-commit "Introduce ObjectFileBreakpad" 2018-12-10 17:16:38 +00:00
unittests Add another ArchSpec unit test. 2018-12-06 17:11:45 +00:00
utils Fix typos. 2018-10-04 22:33:39 +00:00
www [lldb] Introduce StackFrameRecognizer [take 3] 2018-10-31 04:00:22 +00:00
.arcconfig
.clang-format
.gitignore [dotest] Remove crashinfo hook 2018-01-10 10:18:47 +00:00
CMakeLists.txt [CMake] Fix side-effect from LLDB_VERSION change in r346668 for framework-enabled builds 2018-12-05 12:18:44 +00:00
CODE_OWNERS.txt Fix/unify the spelling of Objective-C. 2018-06-13 16:21:24 +00:00
INSTALL.txt Changed builld-llvm.py to use .json files 2017-02-23 02:21:34 +00:00
LICENSE.TXT
use_lldb_suite_root.py