diff options
author | Matthew Curtis <mcurtis@codeaurora.org> | 2012-12-07 21:03:15 +0000 |
---|---|---|
committer | Matthew Curtis <mcurtis@codeaurora.org> | 2012-12-07 21:03:15 +0000 |
commit | 7a93811e8b0b4faf554453225c029831bd50b83a (patch) | |
tree | e4390e6bcde5cc0094e567640a1de535f69a7ae0 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 89660bf7959ea4d2aeab12e934c60fc0cc18e2ec (diff) | |
download | bcm5719-llvm-7a93811e8b0b4faf554453225c029831bd50b83a.tar.gz bcm5719-llvm-7a93811e8b0b4faf554453225c029831bd50b83a.zip |
In hexagon convertToHardwareLoop, don't deref end() iterator
In particular, check if MachineBasicBlock::iterator is end() before
using it to call getDebugLoc();
See also this thread on llvm-commits:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20121112/155914.html
llvm-svn: 169634
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions