[LLVM][Alignment] Introduce Alignment In Attributes
[llvm-core.git] / lib / DebugInfo / GSYM / FunctionInfo.cpp
blob55c36a55b4be0e4fe54a12377124b66ad8726dc6
1 //===- FunctionInfo.cpp -----------------------------------------*- C++ -*-===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
10 #include "llvm/DebugInfo/GSYM/FunctionInfo.h"
12 using namespace llvm;
13 using namespace gsym;
15 raw_ostream &llvm::gsym::operator<<(raw_ostream &OS, const FunctionInfo &FI) {
16 OS << '[' << HEX64(FI.Range.Start) << '-' << HEX64(FI.Range.End) << "): "
17 << "Name=" << HEX32(FI.Name) << '\n';
18 for (const auto &Line : FI.Lines)
19 OS << Line << '\n';
20 OS << FI.Inline;
21 return OS;