https://bugs.llvm.org/show_bug.cgi?id=51224

            Bug ID: 51224
           Summary: [yaml2obj] error: wrote too much data somewhere,
                    section offsets don't line up
           Product: libraries
           Version: trunk
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: DebugInfo
          Assignee: unassignedb...@nondot.org
          Reporter: international.phan...@gmail.com
                CC: jdevliegh...@apple.com, keith.wal...@arm.com,
                    llvm-bugs@lists.llvm.org,
                    paul_robin...@playstation.sony.com

Created attachment 25072
  --> https://bugs.llvm.org/attachment.cgi?id=25072&action=edit
MacOS object file

Using the attached object file generated by Clang on MacOS and the below
commands, 'yaml2obj' generates a fatal error.

------------------------------------------
obj2yaml test.o > test.yaml
yaml2obj test.yaml -o test_cvt.o
------------------------------------------

yaml2obj: error: wrote too much data somewhere, section offsets don't line up

Architecture information:
--------------------------------------
llvm-readobj test.o --arch-specific

File: test.o
Format: Mach-O 64-bit x86-64
Arch: x86_64
AddressSize: 64bit
--------------------------------------

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to