From: Chris Lattner Date: Wed, 16 Nov 2005 07:21:47 +0000 (+0000) Subject: tell selectiondag when we're debugging X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b081ccbf562befe4f86430da35ad2204cd3028de;p=oota-llvm.git tell selectiondag when we're debugging git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24376 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Debugger/UnixLocalInferiorProcess.cpp b/lib/Debugger/UnixLocalInferiorProcess.cpp index 6758e2de9d4..ef9a0a921f2 100644 --- a/lib/Debugger/UnixLocalInferiorProcess.cpp +++ b/lib/Debugger/UnixLocalInferiorProcess.cpp @@ -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()) {