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 6758e2d..ef9a0a9 100644
--- a/lib/Debugger/UnixLocalInferiorProcess.cpp
+++ b/lib/Debugger/UnixLocalInferiorProcess.cpp
@@ -861,6 +861,7 @@
   /// 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()) {