[llvm-bugs] [Bug 48293] New: llvm-strip produces malformed binaries on ARM Darwin

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Nov 25 01:08:54 PST 2020


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

            Bug ID: 48293
           Summary: llvm-strip produces malformed binaries on ARM Darwin
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: yikong at google.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org

macmini.local $ clang hello.c
macmini.local $ ./a.out
  Hello.

macmini.local $ llvm-strip -o llvm_stripped a.out
macmini.local $ file stripped
  llvm_stripped: Mach-O 64-bit executable arm64
macmini.local $ ./llvm_stripped
  [1]    34932 killed     ./llvm_stripped

macmini.local $ strip -o sys_stripped a.out
macmini.local $ file stripped
  sys_stripped: Mach-O 64-bit executable arm64
macmini.local $ ./sys_stripped
  Hello.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20201125/c3d4aab7/attachment.html>


More information about the llvm-bugs mailing list