1 //===--- Passes/StackPointerTracking.cpp ----------------------------------===//
2 //
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
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 //===----------------------------------------------------------------------===//
10 
11 #include "bolt/Passes/StackPointerTracking.h"
12 
13 namespace llvm {
14 namespace bolt {
15 
16 StackPointerTracking::StackPointerTracking(
17     const BinaryContext &BC, BinaryFunction &BF,
18     MCPlusBuilder::AllocatorIdTy AllocatorId)
19     : StackPointerTrackingBase<StackPointerTracking>(BC, BF, AllocatorId) {}
20 
21 } // end namespace bolt
22 } // end namespace llvm
23 
24 llvm::raw_ostream &llvm::operator<<(llvm::raw_ostream &OS,
25                                     const std::pair<int, int> &Val) {
26   OS << Val.first << ", " << Val.second;
27   return OS;
28 }
29