[llvm-bugs] [Bug 32460] New: Include filename for error messages generated by InputFiles.cpp

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Mar 29 12:34:51 PDT 2017


http://bugs.llvm.org/show_bug.cgi?id=32460

            Bug ID: 32460
           Summary: Include filename for error messages generated by
                    InputFiles.cpp
           Product: lld
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: ELF
          Assignee: unassignedbugs at nondot.org
          Reporter: ruiu at google.com
                CC: llvm-bugs at lists.llvm.org

We use check() in various places in InputFiles.cpp for error checking. You can
pass an optional error message for check() so that optional message is
displayed along with the cause of the error. It is expected that an optional
message contains a filename so that a user can fix the issue.

Many check() calls in InputFiles.cpp lack optional messages. We should pass
optional messages with filenames.

-- 
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/20170329/ee862d02/attachment.html>


More information about the llvm-bugs mailing list