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:
parent
efa81a081f
commit
1ebf5e9303
@ -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()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user