llvm-project/lldb/source/Commands
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
..
CMakeLists.txt Add GDB remote packet reproducer. 2018-11-13 19:18:16 +00:00
CommandCompletions.cpp Do not use PATH_MAX with SmallString 2018-12-10 17:23:28 +00:00
CommandObjectApropos.cpp Remove header grouping comments. 2018-11-11 23:17:06 +00:00
CommandObjectApropos.h Remove header grouping comments. 2018-11-11 23:17:06 +00:00
CommandObjectBreakpoint.cpp Remove header grouping comments. 2018-11-11 23:17:06 +00:00
CommandObjectBreakpoint.h Remove header grouping comments. 2018-11-11 23:17:06 +00:00
CommandObjectBreakpointCommand.cpp Remove header grouping comments. 2018-11-11 23:17:06 +00:00
CommandObjectBreakpointCommand.h Remove header grouping comments. 2018-11-11 23:17:06 +00:00
CommandObjectBugreport.cpp Remove header grouping comments. 2018-11-11 23:17:06 +00:00
CommandObjectBugreport.h Remove header grouping comments. 2018-11-11 23:17:06 +00:00
CommandObjectCommands.cpp Remove header grouping comments. 2018-11-11 23:17:06 +00:00
CommandObjectCommands.h Remove header grouping comments. 2018-11-11 23:17:06 +00:00
CommandObjectDisassemble.cpp Remove header grouping comments. 2018-11-11 23:17:06 +00:00
CommandObjectDisassemble.h Clean-up usage of OptionDefinition arrays 2018-09-28 17:58:16 +00:00
CommandObjectExpression.cpp Remove header grouping comments. 2018-11-11 23:17:06 +00:00
CommandObjectExpression.h Remove header grouping comments. 2018-11-11 23:17:06 +00:00
CommandObjectFrame.cpp Remove header grouping comments. 2018-11-11 23:17:06 +00:00
CommandObjectFrame.h Move ArchSpec to the Utility module 2017-11-13 16:16:33 +00:00
CommandObjectGUI.cpp Remove header grouping comments. 2018-11-11 23:17:06 +00:00
CommandObjectGUI.h Remove header grouping comments. 2018-11-11 23:17:06 +00:00
CommandObjectHelp.cpp Remove header grouping comments. 2018-11-11 23:17:06 +00:00
CommandObjectHelp.h Remove header grouping comments. 2018-11-11 23:17:06 +00:00
CommandObjectLanguage.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
CommandObjectLanguage.h Remove header grouping comments. 2018-11-11 23:17:06 +00:00
CommandObjectLog.cpp Remove header grouping comments. 2018-11-11 23:17:06 +00:00
CommandObjectLog.h Remove header grouping comments. 2018-11-11 23:17:06 +00:00
CommandObjectMemory.cpp Re-land "Extract construction of DataBufferLLVM into FileSystem" 2018-11-12 21:24:50 +00:00
CommandObjectMemory.h Remove header grouping comments. 2018-11-11 23:17:06 +00:00
CommandObjectMultiword.cpp Remove header grouping comments. 2018-11-11 23:17:06 +00:00
CommandObjectPlatform.cpp Do not use PATH_MAX with SmallString 2018-12-10 17:23:28 +00:00
CommandObjectPlatform.h Remove header grouping comments. 2018-11-11 23:17:06 +00:00
CommandObjectPlugin.cpp Remove header grouping comments. 2018-11-11 23:17:06 +00:00
CommandObjectPlugin.h Remove header grouping comments. 2018-11-11 23:17:06 +00:00
CommandObjectProcess.cpp Remove header grouping comments. 2018-11-11 23:17:06 +00:00
CommandObjectProcess.h Remove header grouping comments. 2018-11-11 23:17:06 +00:00
CommandObjectQuit.cpp Remove header grouping comments. 2018-11-11 23:17:06 +00:00
CommandObjectQuit.h Remove header grouping comments. 2018-11-11 23:17:06 +00:00
CommandObjectRegister.cpp Replace "nullptr-terminated" C-arrays of OptionValueEnumeration with safer llvm::ArrayRef 2018-09-26 18:50:19 +00:00
CommandObjectRegister.h Remove header grouping comments. 2018-11-11 23:17:06 +00:00
CommandObjectReproducer.cpp [Reproducers] Change how reproducers are initialized. 2018-12-03 17:28:29 +00:00
CommandObjectReproducer.h Add GDB remote packet reproducer. 2018-11-13 19:18:16 +00:00
CommandObjectSettings.cpp Remove header grouping comments. 2018-11-11 23:17:06 +00:00
CommandObjectSettings.h Remove header grouping comments. 2018-11-11 23:17:06 +00:00
CommandObjectSource.cpp Remove header grouping comments. 2018-11-11 23:17:06 +00:00
CommandObjectSource.h Remove header grouping comments. 2018-11-11 23:17:06 +00:00
CommandObjectStats.cpp [Statistics] Move GetStatDescription to an header file. 2018-04-16 18:25:57 +00:00
CommandObjectStats.h [Command] Implement `statistics` command. 2018-04-13 18:02:39 +00:00
CommandObjectTarget.cpp Rename ObjectFile::GetHeaderAddress to GetBaseAddress 2018-12-11 15:21:15 +00:00
CommandObjectTarget.h Move ArchSpec to the Utility module 2017-11-13 16:16:33 +00:00
CommandObjectThread.cpp [lldb] Add GetCurrentException APIs to SBThread, add frame recognizer for objc_exception_throw for Obj-C runtimes 2018-11-28 22:01:52 +00:00
CommandObjectThread.h Remove header grouping comments. 2018-11-11 23:17:06 +00:00
CommandObjectType.cpp Remove header grouping comments. 2018-11-11 23:17:06 +00:00
CommandObjectType.h Remove header grouping comments. 2018-11-11 23:17:06 +00:00
CommandObjectVersion.cpp Remove header grouping comments. 2018-11-11 23:17:06 +00:00
CommandObjectVersion.h Remove header grouping comments. 2018-11-11 23:17:06 +00:00
CommandObjectWatchpoint.cpp Remove header grouping comments. 2018-11-11 23:17:06 +00:00
CommandObjectWatchpoint.h Remove header grouping comments. 2018-11-11 23:17:06 +00:00
CommandObjectWatchpointCommand.cpp Remove header grouping comments. 2018-11-11 23:17:06 +00:00
CommandObjectWatchpointCommand.h Remove header grouping comments. 2018-11-11 23:17:06 +00:00