Skip to content
Commit 7f8be9ba authored by Devang Patel's avatar Devang Patel
Browse files

Before inserting llvm.dbg.declare intrinsic at the end of a basic block,...

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
parent 6f923f89
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment