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: unassignedclangb...@nondot.org
          Reporter: jeanmichael.celer...@gmail.com
                CC: llvm-bugs@lists.llvm.org, neeil...@live.com,
                    richard-l...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to