[llvm-bugs] [Bug 45422] New: No way to disable remark output from opt even with --no-warn

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Apr 3 12:13:37 PDT 2020


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

            Bug ID: 45422
           Summary: No way to disable remark output from opt even with
                    --no-warn
           Product: tools
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: opt
          Assignee: unassignedbugs at nondot.org
          Reporter: d.maljutin at yandex.ru
                CC: llvm-bugs at lists.llvm.org

Example: https://godbolt.org/z/fxsn6G

It looks like there is no way to disable remark output if it decides that it is
enabled:
https://github.com/llvm/llvm-project/blob/f95a67d8b8a8cec326ee4a7e8427b779936d100a/llvm/lib/IR/LLVMContext.cpp#L243

Like here:
https://github.com/llvm/llvm-project/blob/466f8843f526b03c8944a46af5ebb374133b5389/llvm/lib/IR/DiagnosticInfo.cpp#L327

Even --no-warn option doesn't help.

-- 
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/20200403/259ae8fe/attachment.html>


More information about the llvm-bugs mailing list