]> granicus.if.org Git - clang/commit
For debug and coverage analysis if we're not optimizing go ahead
authorEric Christopher <echristo@apple.com>
Tue, 10 Apr 2012 18:20:19 +0000 (18:20 +0000)
committerEric Christopher <echristo@apple.com>
Tue, 10 Apr 2012 18:20:19 +0000 (18:20 +0000)
commitc07833795aa6e569de5bb90945f5017b9969288d
tree20f71fbe610517242e7ff793c7f66b85bc88318d
parent10ccf12a06cc1ef5b778c20565945f313a9a2c26
For debug and coverage analysis if we're not optimizing go ahead
and emit a relatively empty block for a plain break statement. This
enables us to track where we went through a switch.

PR9796 & rdar://11215207

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154420 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGStmt.cpp
test/CodeGen/debug-line-1.c [new file with mode: 0644]
test/CodeGen/switch-dce.c