llvm-project/lldb/source/API
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 [Reproducers] Change how reproducers are initialized. 2018-12-03 17:28:29 +00:00
SBAddress.cpp Don't type-erase the SymbolContextItem enumeration. 2018-10-25 20:45:19 +00:00
SBAttachInfo.cpp [FileSystem] Move path resolution logic out of FileSpec 2018-11-01 21:05:36 +00:00
SBBlock.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
SBBreakpoint.cpp Add setting to require hardware breakpoints. 2018-11-15 01:18:15 +00:00
SBBreakpointLocation.cpp Cut and paste error from r23162. 2017-08-03 19:38:38 +00:00
SBBreakpointName.cpp Remove header grouping comments. 2018-11-11 23:17:06 +00:00
SBBreakpointOptionCommon.cpp Remove header grouping comments. 2018-11-11 23:17:06 +00:00
SBBreakpointOptionCommon.h [SBBreakpointOptionCommon] Give this class an explicit destructor. 2017-12-07 18:06:06 +00:00
SBBroadcaster.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
SBCommandInterpreter.cpp Remove header grouping comments. 2018-11-11 23:17:06 +00:00
SBCommandReturnObject.cpp Remove header grouping comments. 2018-11-11 23:17:06 +00:00
SBCommunication.cpp Move Connection and IOObject interfaces to Utility module 2017-06-27 10:33:14 +00:00
SBCompileUnit.cpp Don't type-erase the FunctionNameType or TypeClass enums. 2018-10-25 20:45:40 +00:00
SBData.cpp Remove comments after header includes. 2018-11-11 23:16:43 +00:00
SBDebugger.cpp [Reproducers] Change how reproducers are initialized. 2018-12-03 17:28:29 +00:00
SBDeclaration.cpp Resubmit "Delete the remainder of platform specific code in FileSpec." 2017-03-22 17:33:23 +00:00
SBError.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
SBEvent.cpp Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
SBExecutionContext.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
SBExpressionOptions.cpp Add an SBExpressionOptions setting mirroring the "exec" command's --allow-jit. 2018-11-02 23:42:40 +00:00
SBFileSpec.cpp Remove comments after header includes. 2018-11-11 23:16:43 +00:00
SBFileSpecList.cpp Move FileSpec from Host -> Utility. 2017-03-22 18:40:07 +00:00
SBFrame.cpp Remove header grouping comments. 2018-11-11 23:17:06 +00:00
SBFunction.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
SBHostOS.cpp [FileSystem] Move path resolution logic out of FileSpec 2018-11-01 21:05:36 +00:00
SBInitializerOptions.cpp [Reproducers] Change how reproducers are initialized. 2018-12-03 17:28:29 +00:00
SBInstruction.cpp Move AddressClass to private enums since API doesn't provide any functions to manage it. 2018-06-27 06:50:10 +00:00
SBInstructionList.cpp Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
SBLanguageRuntime.cpp Update OptionGroup::SetValue to take StringRef. 2016-09-23 17:48:13 +00:00
SBLaunchInfo.cpp [FileSystem] Move path resolution logic out of FileSpec 2018-11-01 21:05:36 +00:00
SBLineEntry.cpp Resubmit "Delete the remainder of platform specific code in FileSpec." 2017-03-22 17:33:23 +00:00
SBListener.cpp Move the definition of SBListener::GetSP() to SBListener.cpp. 2017-03-29 19:32:59 +00:00
SBMemoryRegionInfo.cpp Move classes from Core -> Utility. 2017-02-02 21:39:50 +00:00
SBMemoryRegionInfoList.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
SBModule.cpp Rename ObjectFile::GetHeaderAddress to GetBaseAddress 2018-12-11 15:21:15 +00:00
SBModuleSpec.cpp [FileSystem] Move path resolution logic out of FileSpec 2018-11-01 21:05:36 +00:00
SBPlatform.cpp [FileSystem] Add convenience method to check for directories. 2018-11-08 00:14:50 +00:00
SBProcess.cpp Remove header grouping comments. 2018-11-11 23:17:06 +00:00
SBProcessInfo.cpp Expose process instance info via SB API 2017-08-01 07:34:26 +00:00
SBQueue.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
SBQueueItem.cpp Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
SBSection.cpp Re-land "Extract construction of DataBufferLLVM into FileSystem" 2018-11-12 21:24:50 +00:00
SBSourceManager.cpp Move classes from Core -> Utility. 2017-02-02 21:39:50 +00:00
SBStream.cpp [FileSystem] Open File instances through the FileSystem. 2018-11-02 22:34:51 +00:00
SBStringList.cpp Move StringList from Core -> Utility. 2017-03-21 18:25:04 +00:00
SBStructuredData.cpp Add a "scripted" breakpoint type to lldb. 2018-09-13 21:35:32 +00:00
SBSymbol.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
SBSymbolContext.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
SBSymbolContextList.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
SBTarget.cpp [FileSystem] Move path resolution logic out of FileSpec 2018-11-01 21:05:36 +00:00
SBThread.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
SBThreadCollection.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
SBThreadPlan.cpp Add setting to require hardware breakpoints. 2018-11-15 01:18:15 +00:00
SBTrace.cpp Implementation of remote packets for Trace data. 2017-05-26 11:46:27 +00:00
SBTraceOptions.cpp Move Timer and TraceOptions from Core to Utility 2017-06-29 14:32:17 +00:00
SBType.cpp Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
SBTypeCategory.cpp Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
SBTypeEnumMember.cpp Move classes from Core -> Utility. 2017-02-02 21:39:50 +00:00
SBTypeFilter.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
SBTypeFormat.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
SBTypeNameSpecifier.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
SBTypeSummary.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
SBTypeSynthetic.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
SBUnixSignals.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
SBValue.cpp Move RegisterValue,Scalar,State from Core to Utility 2018-08-07 11:07:21 +00:00
SBValueList.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
SBVariablesOptions.cpp [lldb] Introduce StackFrameRecognizer [take 3] 2018-10-31 04:00:22 +00:00
SBWatchpoint.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
SystemInitializerFull.cpp Re-commit "Introduce ObjectFileBreakpad" 2018-12-10 17:16:38 +00:00
SystemInitializerFull.h [Reproducers] Change how reproducers are initialized. 2018-12-03 17:28:29 +00:00
liblldb-private.exports Limit LLDB_EXPORT_ALL_SYMBOLS to lldb symbols 2016-10-29 00:29:15 +00:00
liblldb.exports
liblldb.xcode.exports