diff options
author | Greg Clayton <gclayton@apple.com> | 2014-06-24 22:22:43 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2014-06-24 22:22:43 +0000 |
commit | 48672afb662f4b23e1934debdb84ad9a20dd9ced (patch) | |
tree | 97771c2bbe2d8ef118c19cf9cc36b56aa8c10502 /lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp | |
parent | 257d48d22cadb5677b1be4a756b5bc74f286139b (diff) | |
download | bcm5719-llvm-48672afb662f4b23e1934debdb84ad9a20dd9ced.tar.gz bcm5719-llvm-48672afb662f4b23e1934debdb84ad9a20dd9ced.zip |
Patch from Keno Fischer to enable JITLoaderGDB with mach-o file support.
The patch is as is with the functionality left disabled for apple vendors because of performance regressions. If this is enabled it ends up searching for symbols in all shared libraries that are loadeded.
llvm-svn: 211638
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp')
-rw-r--r-- | lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp b/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp index ca70b96651a..7b853423459 100644 --- a/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp +++ b/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp @@ -753,6 +753,7 @@ ObjectFilePECOFF::CreateSections (SectionList &unified_section_list) m_sect_headers[idx].vmsize, // VM size in bytes of this section m_sect_headers[idx].offset, // Offset to the data for this section in the file m_sect_headers[idx].size, // Size in bytes of this section as found in the the file + m_coff_header_opt.sect_alignment, // Section alignment m_sect_headers[idx].flags)); // Flags for this section //section_sp->SetIsEncrypted (segment_is_encrypted); |