summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ObjectFile
diff options
context:
space:
mode:
authorStella Stamenova <stilis@microsoft.com>2018-11-30 17:29:54 +0000
committerStella Stamenova <stilis@microsoft.com>2018-11-30 17:29:54 +0000
commit9a3686b208dcde5a88cfdadb555f625964fe4bc1 (patch)
treea8503109b9867ed5336f966ed645a440c299e2a4 /lldb/source/Plugins/ObjectFile
parente47b3669002affb663f76e4a43453b56d3839ec7 (diff)
downloadbcm5719-llvm-9a3686b208dcde5a88cfdadb555f625964fe4bc1.tar.gz
bcm5719-llvm-9a3686b208dcde5a88cfdadb555f625964fe4bc1.zip
Revert "[PDB] Support PDB-backed expressions evaluation"
This reverts commit dec87759523b2f22fcff3325bc2cd543e4cda0e7. This commit caused the tests on Windows to run forever rather than complete. Reverting until the commit can be fixed to not stall. llvm-svn: 348009
Diffstat (limited to 'lldb/source/Plugins/ObjectFile')
-rw-r--r--lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp b/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
index e792165734f..78d03e27d8f 100644
--- a/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
+++ b/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
@@ -817,12 +817,12 @@ lldb_private::Address ObjectFilePECOFF::GetEntryPointAddress() {
return m_entry_point_address;
SectionList *section_list = GetSectionList();
- addr_t file_addr = m_coff_header_opt.entry + m_coff_header_opt.image_base;
+ addr_t offset = m_coff_header_opt.entry;
if (!section_list)
- m_entry_point_address.SetOffset(file_addr);
+ m_entry_point_address.SetOffset(offset);
else
- m_entry_point_address.ResolveAddressUsingFileSections(file_addr, section_list);
+ m_entry_point_address.ResolveAddressUsingFileSections(offset, section_list);
return m_entry_point_address;
}
OpenPOWER on IntegriCloud