[llvm-bugs] [Bug 48403] New: Backport fix for --pgo-warn-misexpect from 12 to 11

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Dec 5 15:26:18 PST 2020


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

            Bug ID: 48403
           Summary: Backport fix for --pgo-warn-misexpect from 12 to 11
           Product: clang
           Version: 11.0
          Hardware: All
                OS: All
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: jeanmichael.celerier at gmail.com
                CC: llvm-bugs at lists.llvm.org, neeilans at live.com,
                    richard-llvm at metafoo.co.uk

Issue is that invoking a compilation through libclang twice in the same process
gives 

"clang (LLVM option parsing): for the --pgo-warn-misexpect option: may only
occur zero or one times!" 

and then crashes : https://reviews.llvm.org/D66324#1680232

The trivial fix is in LLVM 12 :
https://github.com/llvm/llvm-project/commit/6d2b75e0887ee87e247756c4d51733616bb2f356

It seems to apply without issues in current 11.X - could this be backported
please ?

-- 
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/20201205/069734fc/attachment.html>


More information about the llvm-bugs mailing list