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
Loading
Please register or sign in to comment