[llvm-bugs] [Bug 38669] New: Verbose mode unicode archive name printing is incorrect

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Aug 22 04:29:42 PDT 2018


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: unassignedbugs at nondot.org
          Reporter: snortotter at gmail.com
                CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180822/26a0015e/attachment.html>


More information about the llvm-bugs mailing list