tell selectiondag when we're debugging
authorChris Lattner <sabre@nondot.org>
Wed, 16 Nov 2005 07:21:47 +0000 (07:21 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 16 Nov 2005 07:21:47 +0000 (07:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24376 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Debugger/UnixLocalInferiorProcess.cpp

index 6758e2de9d426d7a91cd4a373a64a99f56fd08fd..ef9a0a921f25a86be8ca4f33383bbcddd3eb9042 100644 (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()) {