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: unassignedb...@nondot.org
          Reporter: yik...@google.com
                CC: htmldevelo...@gmail.com, llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to