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 | 27a53de9b8bdf36656918573e22df42239eeac09 (patch) | |
tree | 7d49a2ca243e1b83860d2364f4415468c673034f /lib/Transforms/Utils/Local.cpp | |
parent | 4f17eb87218ce4879a4ef0ed15c9ac5cf0294c2a (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94820 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions