[llvm-bugs] [Bug 42204] New: llvm-strip should error when using stdin ('-') more than once as input files

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Jun 8 23:15:56 PDT 2019


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

            Bug ID: 42204
           Summary: llvm-strip should error when using stdin ('-') more
                    than once as input files
           Product: tools
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: llvm-objcopy/strip
          Assignee: unassignedbugs at nondot.org
          Reporter: alexbrachetmialot at gmail.com
                CC: alexander.v.shaposhnikov at gmail.com,
                    jake.h.ehrlich at gmail.com,
                    jh7370.2008 at my.bristol.ac.uk,
                    llvm-bugs at lists.llvm.org, rupprecht at google.com

Should llvm-strip fail when trying to use '-' more than once for input files?
Reading twice from stdin is sometimes impossible as it is not guaranteed to be
lseekable, not like we would bother rewinding the stream to try and accommodate
this regardless. Also, I think that using the same file twice as an input file
should result in a warning. Currently we do nothing.

-- 
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/20190609/ee928b45/attachment.html>


More information about the llvm-bugs mailing list