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

            Bug ID: 38669
           Summary: Verbose mode unicode archive name printing is
                    incorrect
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: llvm-ar
          Assignee: unassignedb...@nondot.org
          Reporter: snortot...@gmail.com
                CC: llvm-bugs@lists.llvm.org

Created attachment 20756
  --> https://bugs.llvm.org/attachment.cgi?id=20756&action=edit
example object files in input folder

When using the verbose modifier and creating an archive with a name containing
Unicode characters, verbose printed archive name is mangled. However, the
name of the created archive on the filesystem is correct.
This issue was observed on Windows 10 using Git Bash and could not be
reproduced
on Ubuntu. For example,

On Windows 10:
$ llvm-ar -rv llvm-ar☢☣.arc ./input/a.o ./input/b.o
llvm-ar.exe: creating llvm-arÔÿóÔÿú.arc

On Ubuntu 16.04:
$ llvm-ar rv llvm-ar☢☣.arc ./input/a.o ./input/b.o
llvm-ar: creating llvm-ar☢☣.arc

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

Reply via email to