[llvm-bugs] [Bug 38101] New: [llvm-mca] implement a better framework for error handling.

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jul 9 04:36:45 PDT 2018


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

            Bug ID: 38101
           Summary: [llvm-mca] implement a better framework for error
                    handling.
           Product: new-bugs
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: andrea.dibiagio at gmail.com
                CC: clement.courbet at gmail.com, greg.bedwell at sony.com,
                    lebedev.ri at gmail.com, llvm-bugs at lists.llvm.org,
                    llvm-dev at redking.me.uk, matthew.davis at sony.com,
                    spatel+llvm at rotateright.com
            Blocks: 37696

We need to set up a proper framework for handling warnings and errors.

There are a few places in InstrBuilder where we call llvm::report_fatal_error.
This will become a problem when we decide to finalize bug 37696 and we move
towards llvm-mca as a library.
We don't want to have calls to report_fatal_error from inside of the library
code. Instead, errors and warnings should be correctly diagnosed outside of
InstrBuilder.

This is a blocker for bug 37696.


Referenced Bugs:

https://bugs.llvm.org/show_bug.cgi?id=37696
[Bug 37696] [llvm-mca] llvm-mca as a library
-- 
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/20180709/5ea7c0b1/attachment-0001.html>


More information about the llvm-bugs mailing list