forked from OSchip/llvm-project
4f15732067
Summary: Currently, MachOWriter::writeSectionData writes dummy data (0xdeadbeef) to fill section data areas in the file even if the section is a virtual one. Since virtual sections don't occupy any space in the file, writing dummy data could results the "OS.tell() - fileStart <= Sec.offset" assertion failure. This patch fixes the bug by simply not writing any dummy data for virtual sections. Reviewers: beanz, jhenderson, rupprecht, alexshap Reviewed By: alexshap Subscribers: compnerd, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D62991 llvm-svn: 363525 |
||
---|---|---|
.. | ||
BigEndian.yaml | ||
DWARF-BigEndian.yaml | ||
DWARF-LittleEndian.yaml | ||
DWARF-debug_abbrev.yaml | ||
DWARF-debug_aranges.yaml | ||
DWARF-debug_info.yaml | ||
DWARF-debug_line.yaml | ||
DWARF-debug_str.yaml | ||
DWARF-pubsections.yaml | ||
DWARF2-AddrSize8-FormValues.yaml | ||
DWARF5-abbrevValues.yaml | ||
DWARF5-debug_info.yaml | ||
LittleEndian.yaml | ||
bind_opcode.yaml | ||
bogus_load_command.yaml | ||
build_version_command.yaml | ||
dylib_dylinker_command.yaml | ||
export_trie.yaml | ||
fat_macho_i386_x86_64.yaml | ||
lazy_bind_opcode.yaml | ||
load_commands.yaml | ||
mach_header.yaml | ||
mach_header_32_malformed.yaml | ||
mach_header_64.yaml | ||
null_string_entries.yaml | ||
out_of_order_linkedit.yaml | ||
rebase_opcode.yaml | ||
sections.yaml | ||
symtab.yaml | ||
virtual_section.yaml | ||
weak_bind_opcode.yaml |