mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Based off the PlaygroundTransform, this new ASTWalker leaves calls to __builtin_pc_before and __builtin_pc_after before and after a user would expect a program counter to enter a range of source code.
29 lines
862 B
C++
29 lines
862 B
C++
//===--- InstrumenterSupport.h - Instrumenter Support ---------------------===//
|
|
//
|
|
// This source file is part of the Swift.org open source project
|
|
//
|
|
// Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
|
|
// Licensed under Apache License v2.0 with Runtime Library Exception
|
|
//
|
|
// See https://swift.org/LICENSE.txt for license information
|
|
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This file implements the supporting functions for writing instrumenters of
|
|
// the Swift AST.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include "InstrumenterSupport.h"
|
|
|
|
using namespace swift;
|
|
|
|
namespace swift {
|
|
namespace instrumenter_support {
|
|
|
|
InstrumenterBase::~InstrumenterBase() {};
|
|
|
|
}
|
|
}
|