LLDB mainline
|
#include "ObjectFilePECOFF.h"
#include "PECallFrameInfo.h"
#include "WindowsMiniDump.h"
#include "lldb/Core/Module.h"
#include "lldb/Core/ModuleSpec.h"
#include "lldb/Core/PluginManager.h"
#include "lldb/Core/Section.h"
#include "lldb/Interpreter/OptionValueDictionary.h"
#include "lldb/Interpreter/OptionValueProperties.h"
#include "lldb/Symbol/ObjectFile.h"
#include "lldb/Symbol/SaveCoreOptions.h"
#include "lldb/Target/Process.h"
#include "lldb/Target/SectionLoadList.h"
#include "lldb/Target/Target.h"
#include "lldb/Utility/ArchSpec.h"
#include "lldb/Utility/DataBufferHeap.h"
#include "lldb/Utility/FileSpec.h"
#include "lldb/Utility/FileSpecList.h"
#include "lldb/Utility/LLDBLog.h"
#include "lldb/Utility/Log.h"
#include "lldb/Utility/StreamString.h"
#include "lldb/Utility/Timer.h"
#include "lldb/Utility/UUID.h"
#include "llvm/BinaryFormat/COFF.h"
#include "llvm/Object/COFFImportFile.h"
#include "llvm/Support/CRC.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/FormatAdapters.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/TargetParser/Host.h"
#include <optional>
#include "ObjectFilePECOFFProperties.inc"
#include "ObjectFilePECOFFPropertiesEnum.inc"
Go to the source code of this file.
Macros | |
#define | IMAGE_DOS_SIGNATURE 0x5A4D |
#define | IMAGE_NT_SIGNATURE 0x00004550 |
#define | OPT_HEADER_MAGIC_PE32 0x010b |
#define | OPT_HEADER_MAGIC_PE32_PLUS 0x020b |
#define | LLDB_PROPERTIES_objectfilepecoff |
#define | LLDB_PROPERTIES_objectfilepecoff |
Functions | |
static PluginProperties & | GetGlobalPluginProperties () |
static bool | GetDebugLinkContents (const llvm::object::COFFObjectFile &coff_obj, std::string &gnu_debuglink_file, uint32_t &gnu_debuglink_crc) |
static UUID | GetCoffUUID (llvm::object::COFFObjectFile &coff_obj) |
static bool | RVASymbolListCompareRVA (const std::pair< uint32_t, uint32_t > &a, const std::pair< uint32_t, uint32_t > &b) |
#define IMAGE_DOS_SIGNATURE 0x5A4D |
Definition at line 43 of file ObjectFilePECOFF.cpp.
#define IMAGE_NT_SIGNATURE 0x00004550 |
Definition at line 44 of file ObjectFilePECOFF.cpp.
#define LLDB_PROPERTIES_objectfilepecoff |
Definition at line 77 of file ObjectFilePECOFF.cpp.
#define LLDB_PROPERTIES_objectfilepecoff |
Definition at line 77 of file ObjectFilePECOFF.cpp.
#define OPT_HEADER_MAGIC_PE32 0x010b |
Definition at line 45 of file ObjectFilePECOFF.cpp.
#define OPT_HEADER_MAGIC_PE32_PLUS 0x020b |
Definition at line 46 of file ObjectFilePECOFF.cpp.
|
static |
Definition at line 140 of file ObjectFilePECOFF.cpp.
References lldb_private::UUID::CvRecordPdb70::Age, lldb_private::ConstString::AsCString(), GetDebugLinkContents(), lldb_private::FileSpec::GetFilename(), LLDB_SCOPED_TIMERF, and lldb_private::UUID::CvRecordPdb70::Uuid.
Referenced by ObjectFilePECOFF::GetModuleSpecifications(), and ObjectFilePECOFF::GetUUID().
|
static |
Definition at line 110 of file ObjectFilePECOFF.cpp.
References lldb::eByteOrderBig, lldb::eByteOrderLittle, lldb_private::DataExtractor::GetCStr(), lldb_private::ConstString::GetStringRef(), and lldb_private::DataExtractor::GetU32().
Referenced by GetCoffUUID(), and ObjectFilePECOFF::GetDebugLink().
|
static |
Definition at line 105 of file ObjectFilePECOFF.cpp.
|
static |
Definition at line 775 of file ObjectFilePECOFF.cpp.
Referenced by ObjectFilePECOFF::AppendFromCOFFSymbolTable(), and ObjectFilePECOFF::AppendFromExportTable().