Go to file
Eric Christopher bfb38badc1 Fix for PR 19261:
llc doesn't generate nodes for unconditional fall-through branches for targets
without FastISel implementation (X86 has it, but can be disabled by
"-fast-isel=false") in SelectionDAGBuilder::visitBr().

So for line 4 in the following testcase

1: void foo(int i){
2:   switch(i){
3:   default:
4:     break;
5:   }
6:   return;
7: }

there is no corresponding line in .debug_line section, and a debugger
cannot set a breakpoint at line 4.

Fix this by always emitting a branch when we're not optimizing and add a
testcase to ensure that there's code on every line we'd want to break.

Patch by Daniil Fukalov.

llvm-svn: 205529
2014-04-03 12:11:51 +00:00
clang clang-format: Prefer an additional line-break over hanging indent. 2014-04-03 12:00:33 +00:00
clang-tools-extra Fix regex bug in clang-tidy. 2014-04-02 08:52:06 +00:00
compiler-rt [ASan] Fix incompatible runtimes check: don't iterate /proc/self/maps on every call to __asan_init 2014-04-02 13:09:22 +00:00
debuginfo-tests relax testcase for LLDB output format compatibility. 2014-03-19 23:06:18 +00:00
libclc Introduce M_LOG2E_F and M_LOG2E 2014-03-28 21:19:03 +00:00
libcxx RTTI Uniqueness: remove __name_for_load function. 2014-04-03 09:12:38 +00:00
libcxxabi Simplify. 2014-03-20 01:28:28 +00:00
lld Add comment for Linker Script node. 2014-04-03 04:10:52 +00:00
lldb Make the fail messages 2014-04-03 01:26:14 +00:00
llvm Fix for PR 19261: 2014-04-03 12:11:51 +00:00
openmp Revert commit (testing commit hook). 2014-03-04 18:06:04 +00:00
polly Use explit types in foreach iterators 2014-04-02 20:18:19 +00:00