diff options
| author | Devang Patel <dpatel@apple.com> | 2010-01-29 18:30:57 +0000 |
|---|---|---|
| committer | Devang Patel <dpatel@apple.com> | 2010-01-29 18:30:57 +0000 |
| commit | 7f8be9ba95f792f9394909ce94c25e0941be9ba5 (patch) | |
| tree | 46673ad9dce6b64fb54aa7cf63bcd9160fdf9a44 /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
| parent | 6f923f89c351a0dcef9a02e0877839e6083bf967 (diff) | |
| download | bcm5719-llvm-7f8be9ba95f792f9394909ce94c25e0941be9ba5.tar.gz bcm5719-llvm-7f8be9ba95f792f9394909ce94c25e0941be9ba5.zip | |
Before inserting llvm.dbg.declare intrinsic at the end of a basic block, check whether the basic block has a terminator or not.
This API is used by clang and the test case is test/CodeGen/debug-info-crash.c in clang module.
llvm-svn: 94820
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions

