brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1013 B · 0749bf7 Raw
30 lines · cpp
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-exception6//7//===----------------------------------------------------------------------===//8//9// This file implements the StackPointerTracking class.10//11//===----------------------------------------------------------------------===//12 13#include "bolt/Passes/StackPointerTracking.h"14 15namespace llvm {16namespace bolt {17 18StackPointerTracking::StackPointerTracking(19    BinaryFunction &BF, MCPlusBuilder::AllocatorIdTy AllocatorId)20    : StackPointerTrackingBase<StackPointerTracking>(BF, AllocatorId) {}21 22} // end namespace bolt23} // end namespace llvm24 25llvm::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