tell selectiondag when we're debugging

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24376 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2005-11-16 07:21:47 +00:00
parent b13b3801fc
commit b081ccbf56

View File

@ -861,6 +861,7 @@ namespace {
/// lowering class that revectors debugging intrinsics to call actual
/// functions (defined above), instead of being turned into noops.
struct DebuggerIntrinsicLowering : public DefaultIntrinsicLowering {
DebuggerIntrinsicLowering() { ShouldEmitDebugFunctions = true; }
virtual void LowerIntrinsicCall(CallInst *CI) {
Module *M = CI->getParent()->getParent()->getParent();
switch (CI->getCalledFunction()->getIntrinsicID()) {