https://bugs.llvm.org/show_bug.cgi?id=51877
Bug ID: 51877
Summary: Copying MachO binary triggers assertion failure on
section offset
Product: tools
Version: trunk
Hardware: All
OS: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: llvm-objcopy/strip
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected],
[email protected],
[email protected],
[email protected], [email protected]
Created attachment 25263
--> https://bugs.llvm.org/attachment.cgi?id=25263&action=edit
yaml reproducer
Handling of section offsets for MachO binaries seems to be incorrect. I get the
following assertions:
((S->Offset != 0) && "Non-zero-fill section's offset cannot be zero"), function
totalSize, file MachOWriter.cpp, line 140.
(Sec->Offset && "Section offset can not be zero"), function writeSections, file
MachOWriter.cpp, line 268.
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs