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

            Bug ID: 43925
           Summary: [ubsan] object-size sanitizer complains about -O0 on
                    clang-cl
           Product: new-bugs
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]

`OptLevel` here is null even when I pass -O2:
https://github.com/llvm/llvm-project/blame/941660299ac6d30919af9d943794a2ac516112fc/clang/lib/Driver/SanitizerArgs.cpp#L270

I would guess that this comes from the clang-cl driver having its own style of
-O flags, for example it understands things like -Od but not -O3.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to