aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Transforms/Utils/Local.h
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 /include/llvm/Transforms/Utils/Local.h
parent4f17eb87218ce4879a4ef0ed15c9ac5cf0294c2a (diff)
downloadexternal_llvm-27a53de9b8bdf36656918573e22df42239eeac09.tar.gz
external_llvm-27a53de9b8bdf36656918573e22df42239eeac09.tar.bz2
external_llvm-27a53de9b8bdf36656918573e22df42239eeac09.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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94820 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms/Utils/Local.h')
0 files changed, 0 insertions, 0 deletions