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