[llvm-bugs] [Bug 30915] New: Move from ErrorOr to Expected in llvm/Object/ELF.h

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Nov 4 05:14:06 PDT 2016


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

            Bug ID: 30915
           Summary: Move from ErrorOr to Expected in llvm/Object/ELF.h
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: ELF
          Assignee: unassignedbugs at nondot.org
          Reporter: rafael.espindola at gmail.com
                CC: llvm-bugs at lists.llvm.org
            Blocks: 30540
    Classification: Unclassified

This is not lld proper, but lld is the main user of ELF.h.

Using a StringError everywhere might actually reduce the amount of code and
should make it possible to provide reasonable error messages without a crazy
enum.

With that and the recent refactoring I think we will be in a better position to
try fuzzing lld again.

-- 
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/20161104/dd3c357b/attachment.html>


More information about the llvm-bugs mailing list