aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Utils/Local.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2010-01-29 18:30:57 +0000
committerDevang Patel <dpatel@apple.com>2010-01-29 18:30:57 +0000
commit27a53de9b8bdf36656918573e22df42239eeac09 (patch)
tree7d49a2ca243e1b83860d2364f4415468c673034f /lib/Transforms/Utils/Local.cpp
parent4f17eb87218ce4879a4ef0ed15c9ac5cf0294c2a (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