xref: /llvm-project/bolt/lib/Passes/StackPointerTracking.cpp (revision 60b09997237c6b4a9d92baa054089bf4d838cdbf)
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     BinaryFunction &BF, MCPlusBuilder::AllocatorIdTy AllocatorId)
18     : StackPointerTrackingBase<StackPointerTracking>(BF, AllocatorId) {}
19 
20 } // end namespace bolt
21 } // end namespace llvm
22 
23 llvm::raw_ostream &llvm::operator<<(llvm::raw_ostream &OS,
24                                     const std::pair<int, int> &Val) {
25   OS << Val.first << ", " << Val.second;
26   return OS;
27 }
28