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

            Bug ID: 27948
           Summary: Coverage: crash on switch statement spanned by macro
                    expansion
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangb...@nondot.org
          Reporter: v...@apple.com
                CC: llvm-bugs@lists.llvm.org
    Classification: Unclassified

Minimal reproducer:

$ clang -x c -fprofile-instr-generate -fcoverage-mapping -o /dev/null - <<EOF
#define START2 switch (0) default:
int main() {
  for (;;)
    START2 return 0;
}
EOF

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to