1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

tell selectiondag when we're debugging

llvm-svn: 24376
This commit is contained in:
Chris Lattner 2005-11-16 07:21:47 +00:00
parent efa81a081f
commit 1ebf5e9303

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()) {