aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Debugger
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-11-16 07:21:47 +0000
committerChris Lattner <sabre@nondot.org>2005-11-16 07:21:47 +0000
commitb081ccbf562befe4f86430da35ad2204cd3028de (patch)
tree376f078c5d3bc91493579aad1c1a76bf673ce117 /lib/Debugger
parentb13b3801fc48087ebcafb95e29ad79643234683f (diff)
downloadexternal_llvm-b081ccbf562befe4f86430da35ad2204cd3028de.zip
external_llvm-b081ccbf562befe4f86430da35ad2204cd3028de.tar.gz
external_llvm-b081ccbf562befe4f86430da35ad2204cd3028de.tar.bz2
tell selectiondag when we're debugging
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24376 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Debugger')
-rw-r--r--lib/Debugger/UnixLocalInferiorProcess.cpp1
1 files changed, 1 insertions, 0 deletions
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 @@ 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()) {