1 //===- bolt/Passes/StackPointerTracking.cpp -------------------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // This file implements the StackPointerTracking class.
11 //===----------------------------------------------------------------------===//
13 #include "bolt/Passes/StackPointerTracking.h"
18 StackPointerTracking::StackPointerTracking(
19 BinaryFunction
&BF
, MCPlusBuilder::AllocatorIdTy AllocatorId
)
20 : StackPointerTrackingBase
<StackPointerTracking
>(BF
, AllocatorId
) {}
22 } // end namespace bolt
23 } // end namespace llvm
25 llvm::raw_ostream
&llvm::operator<<(llvm::raw_ostream
&OS
,
26 const std::pair
<int, int> &Val
) {
27 OS
<< Val
.first
<< ", " << Val
.second
;