mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-02 07:32:52 +00:00
tell selectiondag when we're debugging
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24376 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b13b3801fc
commit
b081ccbf56
@ -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…
Reference in New Issue
Block a user